Industrial Strength C++

[入库:2005年11月11日] [更新:2008年8月25日]

本文简介:The book consists of 15 chapters and one appendix, each discussing a particular aspect of C++ programming.

Chapter 1 is about naming. We discuss how names of classes and functions should be chosen,written and administrated to get programs that are easy to understand, read and maintain.

Chapter 2 is about the organization of code. We discuss how code should be organized in files.

Chapter 3 discusses how comments should be used to add whatever information a company, organization or individual needs. Well written comments are often the sign of a good programmer.

Chapter 4 is about control flow statements, such as for, while, switch and if. If used improperly,they can increase the complexity of a program.

Chapter 5 is a long chapter about the life cycle of objects. We discuss how objects are bestdeclared, created, initialized, copied, assigned and destroyed.

Chapter 6 discusses conversions. We suggest a few rules and recommendations that can take some of the dangers out of this tricky part of C++.

Chapter 7 is a long chapter discussing rules and recommendations concerning the class interface.Among the topics discussed are inline functions, argument passing and return values, const, operator and function overloading, default arguments and conversion operators.
......

本方案相关附件

本文关键:,Industrial,Strength,C++,programming,
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top