How do I set a UInt32 to its maximum value
There’s a macro UINT32_MAX defined in stdint.h which you can use #include <stdint.h> uint32_t max = UINT32_MAX; More about the relevant header <stdint.h>: http://pubs.opengroup.org/onlinepubs/009695299/basedefs/stdint.h.html