- 1、本文档共22页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
CProgrammingStyleGuidelines(c编程风格指南)
C++ Programming Style Guidelines
C++
C++ Programming Style Guidelines
Geotechnical Software Services
Version 2.3, September 2000
Copyright © 1996 - 2000
Table of Content
1 Introduction
1.1 Layout of the Recommendations
1.2 Recommendations Importance
2 General Recommendations
3 Naming Conventions
http://www.geosoft.no/style.html (1 of 22) [10/1/2000 6:57:12 PM]
C++ Programming Style Guidelines
3.1 General
3.2 Specific
4 Files
4.1 Source Files
4.2 Include Files and Include Statements
5 Statements
5.1 Types
5.2 Variables
5.3 Loops
5.4 Conditionals
5.5 Miscellaneous
6 Layout and Comments
6.1 Layout
6.2 White space
6.3 Comments
8 References
1 Introduction
This document lists C++ coding recommendations common in the C++ development community.
The recommendations are based on established standards collected from a number of sources,
individual experience, local requirements/needs, as well as suggestions given in [1] - [4].
There are several reasons for introducing a new guideline rather than just referring to the ones above.
Main reason is that these guides are far too general in their scope and that more specific rules
(especially naming rules) need to be established. Also, the present guide has an annotated form that
makes it far easier to use during project code reviews than most other existing guidelines. In addition,
programming recommendations generally tend to mix style issues with language technical issues in a
somewhat confusing manner. The present document does not contain any C++ technical
recommendations at all, but focuses mainly on programming styl
您可能关注的文档
- Borders Rensselaer Polytechnic Institute(边界,伦斯勒理工学院).pdf
- Bottom Line Publications Rachel Hirschfeld(底线的出版物雷切尔希斯菲尔德).pdf
- Borealis and Borouge strengthen wire and cable (北欧化工和Borouge加强电线电缆).pdf
- Border Services Guide Canadian Pacific Railway(边境服务指南加拿大太平洋铁路).pdf
- Bowling Skills Cricket Australia(保龄球技能澳大利亚板球).pdf
- Boundary Element Analysis of Muffler (边界元分析消声器).pdf
- BRADBURN SCALE OF PSYCHOLOGIC WELL (BRADBURN心理规模).pdf
- Border No Parking Prescott, Arizona(边境没有停车,普雷斯科特,亚利桑那州).pdf
- Bradford Reagent (B6916) Technical Bulletin (布拉德福德试剂(B6916)技术通报).pdf
- Brake Caliper Units KnorrBremse(刹车卡钳单位克诺尔).pdf
最近下载
- 2022一级注册消防工程师继续教育人员密集场所消防安全管理题目和答案.doc
- 九省联考【安徽省】2024届高三物理试题及答案 .pdf VIP
- 毕业论文参考-基于ANSYS的连杆应力有限元分析及结构优化.docx VIP
- 北京市海淀区2025年中考数学一模试卷(含答案) .pdf VIP
- 初中数学第6章《实数》单元作业设计.pdf VIP
- 2025国家工业和信息化部所属事业单位招聘28人笔试备考试题及答案解析.docx
- 《无人机航飞与倾斜摄影测量入门与应用》考核试题及答案.docx
- 履带吊安拆监理细则.docx
- JC/T 547-2017 陶瓷砖胶粘剂.docx VIP
- 2025国家工业和信息化部所属事业单位招聘28人笔试备考题库及答案解析.docx
文档评论(0)