I'm on Mac OS X using C++ to load a bitmap image for texturing in OpenGL, however the few tutorials i have, use WORD and DWORD data types in the BITMAPFILEHEADER and BITMAPINFOHEADER structs - These are Windows32 data types are they not.
I have read that it the length of the data types is dependant on the OS and/or the compiler.
Can someone please shed some light on what would be appropriate replacement types for WORD/DWORD for use in my structs.
I understand what putting "unsigned" and "signed" in front of a type does, but when you precede INT with LONG and BOOL with INT, what are those effects?
Also, what exactly is the construct "uint8_t, uint16_t ... " you are using above?