casting - What is the best alternative datatype for (unsigned int) that can be of the same size across 32/64 bit platforms? -
i developing on 64-bit machine , realized unsigned long
not have same size on 64/32 platforms. alternative while maintaining max possible data range ?
use uint64_t sure same everywere
#include <stdint.h> uint64_t my_number;
Comments
Post a Comment