Show differencesHistory of post edits
Posted 22 May 2013 - 01:25 AM
Posted 22 May 2013 - 01:24 AM
Posted 22 May 2013 - 01:23 AM
Just as an addition, I always prefer using the C99 header stdint.h (also available as cstdint in C++) and the types uint8_t and similar and not handling this mess myself. In one company I worked for, this was not done it during a switch to 64 bit I had to update a whole bunch of header files with lots of #ifdefs to take care of this. Had the project used stdint, it would have saved me a whole day of debugging to find the problem and fix it.