C/C++ Coding Standard



Naming Convenion

  1.  匈牙利命名法
    1. http://blog.udn.com/start8588/1171731
  2.  駝峰式
    1. https://zh.wikipedia.org/wiki/%E9%A7%9D%E5%B3%B0%E5%BC%8F%E5%A4%A7%E5%B0%8F%E5%AF%AB


Documentation

  1. Software design document (SDD)
  2. Doxygen




相關文件

  • Book
    • https://sites.google.com/site/cinterfacesimplementations/
  • Indian Hill C Style Guide
    • http://www.cs.arizona.edu/~mccann/cstyle.html
  • Linux
    • https://www.kernel.org/doc/Documentation/CodingStyle
  • GNU
    • http://www.gnu.org/prep/standards/standards.html
  • NASA
    • http://homepages.inf.ed.ac.uk/dts/pm/Papers/nasa-c-style.pdf
  • Google
    • https://github.com/google/styleguide
    • https://google-styleguide.googlecode.com/svn/trunk/cppguide.html
  • Others
    • http://users.ece.cmu.edu/~eno/coding/CCodingStandard.html
    • http://www.possibility.com/Cpp/CppCodingStandard.html
    • https://www.doc.ic.ac.uk/lab/cplus/cstyle.html
    • http://www.maultech.com/chrislott/resources/cstyle/