摘要: 首先是传送门:Google cpp style guide:http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml中文版:(汉化版没有 C++0x 部分)http://code.google.com/p/zh-google-styleguide/主要是讲一下其中的一条:项目内头文件应按照项目源代码目录树结构排列, 避免使用 UNIX 特殊的快捷目录 . (当前目录) 或 .. (上级目录). 例如, google-awesome-project/src/base/logging.h 应该按如下方式包含:#include “b 阅读全文
posted @ 2011-03-15 12:38 白小虎 阅读(487) 评论(0) 推荐(0) 编辑