欢迎来到天天文库
浏览记录
ID:14267262
大小:59.50 KB
页数:33页
时间:2018-07-27
《计算机程序设计基础----c 简介(fundamentals of computer programming ----c introduction)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、计算机程序设计基础----c简介(Fundamentalsofcomputerprogramming----cintroduction)Thisarticleiscontributedbyjmt2010131316PptdocumentsmayexperiencepoorbrowsingontheWAPside.ItisrecommendedthatyoufirstselectTXT,ordownloadthesourcefiletothelocalview.AbriefintroductiontoC++languageTsinghuaUniversity,ZhengLiOneInt
2、roductiontoC++languageprogrammingTsinghuaUniversity,ZhengLiThecontentofthistalkClassandobjectinheritanceandderivationpolymorphismC++standardtemplatelibrarystandardtemplatelibraryTwoIntroductiontoC++languageprogrammingTsinghuaUniversity,ZhengLiObject-orientedthinkingReview:review:processoriented
3、designmethodsEmphasis:key-theemphasisisonthedetailsandprocessesofimplementation,separatingdatafromfunctions.Form:form:Mainmodule+severalsubmodules(main()+subfunctions).Features:features:Top-down,stepbysteprefinement--functionaldecomposition.Disadvantages:disadvantages:Lowefficiencyandpoorreusab
4、ilityofprograms.ThreeIntroductiontoC++languageprogrammingTsinghuaUniversity,ZhengLiObject-orientedthinkingObjectorientedmethodObjective:objective:-torealizetheindustrializationofsoftwaredesign.Viewpoint:pointofview:Natureismadeupofentities(objects).Programmingmethod:programmingmethod:-describe,
5、imitate,anddealwithrealproblemsusinganobject-orientedapproach.Requirements:requirements:-highlyabstract,classified,andabstract.FourIntroductiontoC++languageprogrammingTsinghuaUniversity,ZhengLiabstractBasicfeaturesofAbstractionisthegeneralizationofconcreteobjects(problems).Abstractionistheproce
6、ssofabstractingspecificobjects(problems)andabstractingthecommonpropertiesofsuchobjects.Process.Focusonthenatureanddescriptionoftheproblem,followedbytheimplementationprocessordetails.Dataabstraction:thepropertyorstatethatdescribesaclassofobjects(physicalquantitiesthatseparateobjectsfromeachother
7、).Codeabstraction:describesthecommonbehavior,features,orfunctionsofaclassofobjects.Abstractimplementations:Declarationsthroughclasses.FiveOOPIntroductiontoC++languageprogrammingTsinghuaUniversity,ZhengLiAbstractexamples--Abstracte
此文档下载收益归作者所有