]> Creatis software - gdcm.git/blobdiff - Doc/Website/CodingStyle.html
ENH: Forgot file for coverage
[gdcm.git] / Doc / Website / CodingStyle.html
index 9cb6926c51c8c5b7b02bb960a44505c324fb8714..53910bb9ebeef6e3b39c46ede0de282d65d051c4 100644 (file)
  - Only the C++ standard library and the STL includes should be used.
    When including don't use the .h extension (use #include <iostream>
    instead of #include <iostream.h>).
+   Note: include the stl header AFTER the gdcm ones (otherwise pragma
+         warnings won't work).
  - Don't use the C standard library. Don't include stdio.h, ctype.h...
    Don't use printf(), sprinf(), FILE*...
  - Don't use the NULL notation (either as macro, or as const int NULL=0).
     long long           -> int64_t;
    Hence do not use declarations like "unsigned int".
    With g++, accessing those typedef is achieved by the following
-      #include <stdint.h>
+      #include < stdint.h >
 </PRE>