Difference between revisions of "C/C++"

From HCL
Jump to: navigation, search
Line 1: Line 1:
 +
== Coding ==
 
* 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
 
* Coding header files http://en.wikipedia.org/wiki/Pragma_once
 +
 +
== General ==
 +
* Don't use non-standard functions, like [http://en.wikipedia.org/wiki/Itoa itoa]
 +
* [http://en.wikipedia.org/wiki/Shared_library#Shared_libraries Shared libraries] and [http://en.wikipedia.org/wiki/Dynamic_loading Dynamic loading]
 +
 +
== C++ ==
 
* 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]
 
 
* [http://en.wikipedia.org/wiki/Template_metaprogramming Template C++]
 
* [http://en.wikipedia.org/wiki/Template_metaprogramming Template C++]

Revision as of 15:26, 26 January 2010

Coding

General

C++