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

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -