欢迎来到天天文库
浏览记录
ID:34273694
大小:969.45 KB
页数:62页
时间:2019-03-04
《Google C Style Guide.pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、www.taoyuansoft.comGoogleC++StyleGuideEdtiedbyFelomengfrom桃源软件2011年3月15日www.taoyuansoft.comContents1Background...............................................................................................................................52HeaderFiles...................................
2、............................................................................................52.1The#defineGuard.........................................................................................................52.2HeaderFileDependencies...........................................
3、.................................................62.3InlineFunctions.............................................................................................................72.4The-inl.hFiles..........................................................................................
4、.....................72.5FunctionParameterOrdering.......................................................................................82.6NamesandOrderofIncludes........................................................................................83Scoping........................
5、..............................................................................................................93.1Namespaces..................................................................................................................93.2NestedClasses..............................
6、...............................................................................123.3Nonmember,StaticMember,andGlobalFunctions...................................................133.4LocalVariables..........................................................................................
7、...................133.5StaticandGlobalVariables..........................................................................................144Classes.....................................................................................................................................154.
8、1Doin
此文档下载收益归作者所有