My GNU-Linux platform (debian stretch) has the C types u_int8_t , u_int16_t , u_int32_t and u_int64_t defined in the sys/types.h file, and uint8_t , uint16_t , uint32_t and uint64_t defined in stdint.h . I found these types useful in learning how to assemble X86-64 assembler and interacting with C. Is there any reason why I should prefer one header file over another (be it "best practice", portability, etc.)? . Is the answer different for C ++?
source share