C++编程风格 (英文版) The Elements of C++ Style

上传:tangwei3672 浏览: 51 推荐: 0 文件:zip 大小:804KB 上传时间:2018-12-28 23:24:09 版权申诉
C++编程风格的英文版 The Elements of C++ Style C++编程风格 (英文版) The Elements of C++ Style 本书是一部久经考验、短小精悍的C++ 编程规范。给出的C++ 编码规范和建议主要涉及了格式、命名、文档、编程、包以及泛型等内容,能够帮助广大程序员编写出更易于理解、维护、扩展而且更有效、更专业的C++ 代码。. 第1章 引言. 1 声明 3 致谢 3 第2章 一般原则 5 第3章 格式约定 9 3.1 缩进 9 第4章 命名约定 23 4.1 预处理宏的命名 23 4.2 类型和常量的命名 23 4.3 函数的命名 27 4.4 变量和参数的命名 29 4.5 通用原则 33 第5章 文档约定 39 第6章 编程原则 55 6.1 工程 55 6.2 类的设计 61 6.3 线程安全与并发.. 71 第7章 编程约定 79 The Elements of C++ Style is for all C++ practitioners, especially for those working in teams where consistency is criti cal. Just as Strunk and White's The Elements of Style provides rules of usage for writing in the English language, this text furnishes a set of rules for writing in C++. The authors offer a collection of standards and guidelines for creating solid C++ code that will be easy to understand, enhance and maintain. The book provides conventions for formatting, naming, documentation, programming, and packaging for the latest ANSI standard of C++, and also includes discussion of advanced topics such as templates. Trevor Misfeldt is co-author of Elements of Java Style (Cambridge, 2000) and CEO of CenterSpace Software. Gregory Bumgardner is a Freelance Consultant with twenty-five years of experience in software design and implementation. He is co-author of Elements of Java Style (Cambridge, 2000). Andrew Gray is Director of Engineering for Intellichem, Inc. He was previously Software Engineering Manager and Technology Evangelist at Rogue Wave Software, where he led the development of XML infrastructure solutions. cal. Just as Strunk and White's The Elements of Style provides rules of usage for writing in the English language, this text furnishes a set of rules for writing in C++. The authors offer a collection of standards and guidelines for creating solid C++ code that will be easy to understand, enhance and maintain. The book provides conventions for formatting, naming, documentation, programming, and packaging for the latest ANSI standard of C++, and also includes discussion of advanced topics such as templates. Trevor Misfeldt is co-author of Elements of Java Style (Cambridge, 2000) and CEO of CenterSpace Software. Gregory Bumgardner is a Freelance Consultant with twenty-five years of experience in software design and implementation. He is co-author of Elements of Java Style (Cambridge, 2000). Andrew Gray is Director of Engineering for Intellichem, Inc. He was previously Software Engineering Manager and Technology Evangelist at Rogue Wave Software, where he led the development of XML infrastructure solutions.
上传资源
用户评论

qazsewf 2018-12-28 23:24:10

看看学习先 谢谢

yanlittle 2018-12-28 23:24:10

下载学习编程风格,养成好习惯。

prosecute_8212 2018-12-28 23:24:10

好书。值得一看

arthurxl 2018-12-28 23:24:10

很好的书,规范的程序效率高,初学者应该看一看,严格遵循