Z
ZikO
Hi
Once I gave the solution for one problem in my native group I have been
told to avoid varaibles:
char
unsigned char
short int
unsigned short int
int
unsigned int
long long int
unsigned long long int
and to use the key words from the stdint.h library instead, which are:
int8_t
uint8_t
int16_t
uint16_t
int32_t
uint32_t
int64_t
uint64_t
The reason was that codes with unsigned long long, unsigned long etc
would not be portable between compilers especially on computers with 32
bit and 64 bit architecture. Is that true? I do not have possibility to
check it out as I have still comp of 32 bit architecture (I know it's a
shame
)
Regards.
Once I gave the solution for one problem in my native group I have been
told to avoid varaibles:
char
unsigned char
short int
unsigned short int
int
unsigned int
long long int
unsigned long long int
and to use the key words from the stdint.h library instead, which are:
int8_t
uint8_t
int16_t
uint16_t
int32_t
uint32_t
int64_t
uint64_t
The reason was that codes with unsigned long long, unsigned long etc
would not be portable between compilers especially on computers with 32
bit and 64 bit architecture. Is that true? I do not have possibility to
check it out as I have still comp of 32 bit architecture (I know it's a
shame
Regards.