Difference between revisions of "C/C++"
From HCL
Line 13: | Line 13: | ||
== General == | == General == | ||
* Don't use non-standard functions, like [http://en.wikipedia.org/wiki/Itoa itoa] | * Don't use non-standard functions, like [http://en.wikipedia.org/wiki/Itoa itoa] | ||
− | * | + | * [http://en.wikipedia.org/wiki/Dynamic_loading Dynamic loading of shared libraries] |
Revision as of 17:09, 29 January 2010
Contents
Coding
Commenting
- Place Doxygen comments in header files (before declarations of namespaces/classes/structs/typedefs/macros) and main source files (for documenting tools and tests)
- Use double forward slash for short comments in the code
C++
General
- Don't use non-standard functions, like itoa
- Dynamic loading of shared libraries