Difference between revisions of "C/C++"
From HCL
Line 1: | Line 1: | ||
* One-true-brace ident style is preferrable (http://en.wikipedia.org/wiki/Indent_style) | * One-true-brace ident style is preferrable (http://en.wikipedia.org/wiki/Indent_style) | ||
− | * | + | * Coding header files http://en.wikipedia.org/wiki/Pragma_once |
* Mixing C/C++ http://developers.sun.com/solaris/articles/mixing.html | * Mixing C/C++ http://developers.sun.com/solaris/articles/mixing.html | ||
* Don't use non-standatd functions, like [http://en.wikipedia.org/wiki/Itoa itoa] | * Don't use non-standatd functions, like [http://en.wikipedia.org/wiki/Itoa itoa] | ||
+ | * [http://en.wikipedia.org/wiki/Template_metaprogramming Template C++] |
Revision as of 14:58, 22 January 2010
- One-true-brace ident style is preferrable (http://en.wikipedia.org/wiki/Indent_style)
- Coding header files http://en.wikipedia.org/wiki/Pragma_once
- Mixing C/C++ http://developers.sun.com/solaris/articles/mixing.html
- Don't use non-standatd functions, like itoa
- Template C++