Dab tsi yog qhov tshwj xeeb ntawm C #?
Dab tsi yog qhov tshwj xeeb ntawm C #?

Video: Dab tsi yog qhov tshwj xeeb ntawm C #?

Video: Dab tsi yog qhov tshwj xeeb ntawm C #?
Video: Dab Ntub Hlub - Cheng Xiong Ft. Douachi Yang (Official Music Video) 2024, Plaub Hlis Ntuj
Anonim

C yog ib hom lus programming uas tso cai rau cov kev pab cuam nyuaj kom tawg mus rau hauv cov kev pab cuam yooj yim hu ua functions. Nws tseem tso cai rau kev txav ntawm cov ntaub ntawv dawb thoob plaws cov haujlwm no. C yog portable heev thiab yog siv rau scripting system daim ntaub ntawv uas tsim ib feem ntawm lub qhov rais, UNIX, thiab Linux operating system.

Ces, yog vim li cas C thiaj li nrov?

Ib tug ntawm heev muaj zog vim li cas C programming lus yog nrov thiab siv yog li ntawd dav yog qhov yooj ntawm nws siv rau kev tswj nco. Cov yam ntxwv no ua rau nws ua cov lus siv tau zoo vim tias cov khoom siv qib siab, xws li kev nco, tuaj yeem nkag tau yooj yim. C yog qhov kev xaiv zoo rau kev ua haujlwm theem.

Ib yam li ntawd, C puas siv ntxiv lawm? Ntau lub tsev qiv ntawv tau sau rau hauv C thiab tsis muaj Objective- C sib npaug. Yog li yog, nws tseem yog siv , thiab los ntawm ib qho ntawm cov cuab yeej tshiab tshaj plaws ntawm kev ua lag luam. Feem ntau rau embedded system C tseem dav siv.

Kuj tseem paub yog, vim li cas C ++ zoo dua C?

Txawm hais tias yog qhov tseeb tiag tiag, kev txhawb nqa cov txheej txheem ua haujlwm ua C++ zoo li hybrid programming lus. Ua object-oriented txhais tau tias C++ txhim khu kev tsim khoom raws li lub koom haum ntawm cov cai. Qhov no yog vim nws muaj qib siab ntawm abstraction tshaj tus C programming lus.

Dab tsi tuaj yeem ua C ++ tsis tuaj yeem?

Yog hais tias koj nyob nraum tham standard, portable C ++, ces cov lus teb tsis yog, muaj ob peb yam C ua qhov C ++ ua tsis tau . C++ tsis tuaj yeem tshaj tawm tib hom pointers kom tsis yog-aliasing. C++ tsis tuaj yeem xaiv cov kab lus raws li hom kev sib cav. Hauv C uas yog Generic xaiv -- C++ muaj overloading xwb.

Pom zoo: