- 1、本文档共32页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
[c编程
对齐 程序的分界符‘{’和‘}’应独占一行并且位于同一列,同时与引用它们的语句左对齐。 }之内的代码块在‘{’右边数格处左对齐。 注释 注释通常用于: (1)版本、版权声明; (2)函数接口说明; (3)重要的代码行或段落提示。 虽然注释有助于理解代码,但注意不可过多地使用注释。 类的版式 建议以“行为”为中心,先接口,再数据,先public, 再private。 Evaluation only. Created with Aspose.Slides for .NET 3.5 Client Profile 5.2.0.0. Copyright 2004-2011 Aspose Pty Ltd. Chapter One: Introduction * As we saw, C++ was developed from C. C versus C++ Question: Is C++ the best language? (Better than C?) This sometimes become a political play ball which I don’t want to become involved in. C++ offers certain advantages over C which we will be presented as we progress. 2 things to keep in mind however: A language should be used to solve the particular problem faced as well as the environment. For example, you won’t write a database application in Fortran anymore than you will try to manipulate matrices in Cobol. Another example where the environment is crucial is for instance Java in an embedded solution as oppose to C or C++. For programming in general, a bad coding style will result in a bad program, no matter what language is being used. The transition from C to C++ does not only require the developer to learn the new language features. More important is the different view that has to be taken when analyzing a problem and designing a solution. C++ is bridging the gap from a pure procedural way (algorithms) to an object orientated analysis of the problem domain. Remember that we are not only talking of implementing an algorithm (that is usually the easy part). The scope of an environment is usually larger than just implementing an algorithm. There are also interactions between other systems, software etc. Thus, thought has to be put into how this algorithm fits into the grand structure. It is believed that C++ allows a more natural and effective way to deal with this problem. Some additional ideas on programming and software engineering. Programming – that act of writing code and creating a program Software engineering – includ
您可能关注的文档
- [AutoCAD2014室内装潢设计全套图纸绘制大全第8章地面铺装图绘制.ppt
- [AutoCAD及天正建筑的安装和设置.ppt
- [AUTOCAD绘图环境设置.ppt
- [ATE新中文讲义.ppt
- [AutoCAD2014室内装潢设计全套图纸绘制大全第6章建筑平面图绘制.ppt
- [AutoCAD2014快速入门.ppt
- [Autocad课件.ppt
- [Axure.ppt
- [AutoCAD20教程.ppt
- [aus.ppt
- 2022-2023年资料员之资料员专业管理实务考前冲刺练习题库附带答案.pdf
- 2024年部编版七年级道德与法治上册第一单元教学设计第一课 开启初中生活.docx
- 广东省四校2024-2025学年高一上学期10月月考物理试题(无答案).docx
- 广东省广州市南武中学2024-2025学年高一上学期综合训练(一).docx
- 2024年高三数学教师备考计划范文(五篇).pdf
- 2024年副主任医师述职报告样本(四篇).pdf
- 乌镇调研报告及Swot分析(精).pdf
- 2023年湖北省襄阳市襄州区伙牌镇上张村(社区工作人员100题含答案)高频难、易错考点模拟卷.pdf
- 人教版小学一年级上册数学第二单元《位置》试卷题.pdf
- 《基于游客感知的秦皇岛旅游公共服务质量评价研究》.pdf
最近下载
- DJI大疆DJI Pocket 2说明书 用户手册.pdf
- (高清版)B-T 41246-2022 项目、项目群和项目组合管理 项目群管理指南.pdf VIP
- (中职)机械基础题库练习题及答案.docx
- 真空制盐工艺设计.doc VIP
- 樱花 入户门智能锁说明书(适用产品:DZ-F11_F3_F1_8288_6188_8021等).pdf
- 志愿者手册-杭州第一人民医院.doc VIP
- 非传统油气资源页岩油气.pdf
- Unit 2 Travelling Around Listening and Speaking (教学课件)-高中英语人教版(2019)必修第一册.pptx VIP
- 2024年公用设备工程师之专业案例(暖通空调专业)考前冲刺模拟试卷B卷含答案.docx VIP
- 2016年山东省游泳锦标赛成绩册.docx
文档评论(0)