Difference between int32, int, int32_t, int8 and int8_t
I came across the data type int32_t in a C program recently. I know that it stores 32 bits, but don't int and int32 do the same? Also, I want to use char in a program. Can I use int8_t instead? What is the difference? To summarize: what is the difference between int32, int, int32_t, int8 and int8_t in C? Jerry Coffin Between int32 and int32_t , (and likewise between int8 and int8_t ) the difference is pretty simple: the C standard defines int8_t and int32_t , but does not define anything named int8 or int32 -- the latter (if they exist at all) is probably from some other header or library