- 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>