Tuesday 20 May 2008

C++ Coding Practices Guide

Introduction
To write consistent code comprehended by other developers, you are supposed to follow some coding styles and practices, rather than inventing your own ones. These include naming conventions (on how you name your variables and functions), code and class layout (including tabs, whitespace, brackets placement), imperative const correctness etc... To follow this article, you are supposed to know the basics of OOP and C++. There are some great online resources you may use in addition to this article:
C++ FAQ lite
Artistic style code formatter
Coding standards
C and C++ style guides

http://www.codeproject.com/KB/cpp/cppstyle.aspx

No comments: