Programming: exact width integers

by ,

Apparently the C99 standard defines a new header file, <stdint.h> (probably accessed in C++ as <cstdint>), which finally defines types for the various integer sizes:

Type Description Type Description
int8_t signed char int16_t short int
int32_t long int uint8_t unsigned char
uint16_t unsigned short int uint32_t unsigned long int
int64_t long long uint64_t unsigned long long

So can we all scrap the vendor-specific types we’ve been using for the last twenty years or more? Please?

development.

About rae

I'm a long-time Mac and iOS developer. I'm also a big fan of Ruby on Rails and relational databases. I tend to work remotely, in my basement with occasional trips to the office. I'm also a big videophile, both TV and film, and can't wait for a good, inexpensive home 4k solution.

Leave a Reply

Your email address will not be published. Required fields are marked *