资源描述:
《c语言与c 的区别(the difference between c language and c)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、c语言与c的区别(ThedifferencebetweenClanguageandC)TherelationshipbetweenCandC++:AsmentionedaboveistherelationshipbetweenWin98andwinXP.C++isanewtheorybasedontheCincrease,playoutnewtricks.Soit'scalledCgaga.ThedifferencebetweenCandC++:Cisastructuredlanguage,itfocusesonthealgor
2、ithmsanddatastructures.ThedesignofCprogrammainlyconsidershowtoprocesstheinput(orenvironmentalconditions)throughaprocesstogettheoutput(orrealizetheprocess(transaction)control).C++,theprimaryconsiderationishowtoconstructanobjectmodel,sothismodelcanfitwiththecorrespondi
3、ngproblemdomain,sowecangettheobjectstateinformationoutputorprocess(transaction)control.SothebiggestdifferencebetweenCandC++isthattheyuseddifferentmethodstosolvetheproblemsofthought.ThereasonthatC++ismoreadvancedthantheC,becausethedesignofthisconcepthasbeenintegratedi
4、ntotheC++".Somemorequotesfromexperts:What'sthedifferencebetweenC++andC?Let'sanalyzeitstepbystepA,class,classforbeginners,itisadrag.Thepackageallowsbeginnerstiredontheprogram,feeluncomfortableandtrouble.Two,reference,thereferenceisC++thebestasfaraspossiblenottouseit,u
5、nlesscannotbut.Referenceforbeginnersismoreeasilyconfused,donotknowwhichisthereference,whichisvariable.Three,functionoverloading,functionoverloadingbeginnerslearnwhatdidnotseembad,butthiswillenablebeginnerstosubconsciouslytotheimportanceoftheClanguagevariabletypesofde
6、salination,rememberthatCisthelanguageofthemostsensitivevariabletype,thetypeofthevariableimportanceinClanguageisself-evident.Four,theflowoperator,thesameastheabove,makestheimportanceofvariabletypedesalination,andsometimescausebeginnerspuzzlingresults.Five,operatorover
7、loading,typicaladvancedapplications,beginnersmaynotneed,thisthingwillmakethemthinkC++isdifficult,highthreshold,donotunderstand.Six,inheritanceandvirtualfunction,looksprofound,practicalvalueisverylow.ItissomethingIwouldnotcomment,suchas:new,deleteoperatoretc.Seven,mis
8、understanding:inquestionandanswerform:Q:C++isobjectorientedandCorientedprocess?Answer:secondpairs,thefirstquestion,C++isnotcomplete