Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Links to official style guides [closed]

C++ has several types of styles: MFC, Boost, Google, etc. I would like to examine these styles and determine which one is best for my projects, but I want to read from the official style guidebook. Does anyone have an official guide that they typically use?

Here are two that I found. I bet there are more:

  • http://google-styleguide.googlecode.com/svn/trunk/cppguide.html
  • http://www.boost.org/development/requirements.html

Note: This is NOT a discussion about which style is best... only a call for official style guides that people currently use. Please refrain from bashing other style guides that you don't like.

Side question: Is there a good tool that can examine source code and tell if it matches a given style guide?

like image 401
User1 Avatar asked Mar 12 '10 16:03

User1


1 Answers

Not a Coding Guideline per se, but I find this mighty useful: Bjarne Stroustrup's C++ Style and Technique FAQ

like image 114
dirkgently Avatar answered Sep 24 '22 07:09

dirkgently