Changes between Version 1 and Version 2 of CppCodingStandards

Jul 21, 2009, 2:21:45 PM (11 years ago)



  • CppCodingStandards

    v1 v2  
    1 C++ Coding Standards
     1= C++ Coding Standards =
     3== Overview ==
     5Below I will describes in Gory detail suggested guidelines for C++ code.  These rules apply to new code: new files, new modules, new projects.
     7When editing an older file to fix a minor bug, etc, I think it's prudent to make small changes to the source. In this case, it will be best for readability if you use the standard that was there previously.  Than includes following the established indentation, placement of curly brackets "{}", naming conventions, etc.
     9Obviously if the code requires a complete rewrite, then use the suggested coding standards listed below.
     11Here are some resources and books I like for learning C++, coding standards, and general conventions for C++:
     13== Resources ==
     15Bjarne Stroustrup's C++ Style and Technique FAQ:
     17Great website (For all things C++, STL, C) :
     19Coding Standards
     20  * Used as the main source for those listed below:
     21  *
     23== Good Books ==
     25__Intermediate and Advanced__
     27''Effective C++", and "More Effective C++'', by Scott Meyers
     32''C++ Primer Plus'', by Stephen Prata
     35__Meta rules for Coding Standards__
     37''C++ Coding Standards: 101 Rules, Guidelines, and Best Practices'', by Herb Sutter and Andrei Alexandrescu.
     39"look upon this primarily as a set of meta-rules... and ignore this book at your peril"
     40- Bjourne Strousturp
     42== Proposed Standard ==