In C99, I include stdint.h and that gives me UINT32_MAX as well as uint32_t data type. However, in C++ the UINT32_MAX gets d
stdint.h
UINT32_MAX
uint32_t
Well, uint32_t will always be 32 bit, and always be unsigned, so you can safely define it manually:
#define UINT32_MAX (0xffffffff)
You can also do
#define UINT32_MAX ((uint32_t)-1)