Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C is shit

Name: Anonymous 2011-11-30 19:50

Why have short and int if by the standard they end up being the same size number of bits.


Is the following correct:

char        => 8 bits
short       => 16 bits
int         => 16 bits
long        => 32 bits
long long   => 64 bits

float       => 32 bits
double      => 64 bits
long double => 128 bits


whats the point of short?

Name: Anonymous 2011-12-01 20:13

>>30
If they don't use stdint.h then they aren't going to care about your type system either. They probably won't care about types at all and most likely just use all ints and structs.

anyway i think your system sucks my left nut anyway since you define your types in terms of size of byte rather than bit

u1 vs u8
u2 vs u16

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List