prev up next   top/contents search

comp.lang.c FAQ list · Question 1.3

Q: Since C doesn't define sizes exactly, I've been using typedefs like int16 and int32. I can then define these typedefs to be int, short, long, etc. depending on what machine I'm using. That should solve everything, right?


A: If you truly need control over exact type sizes, this is the right approach. There remain several things to be aware of:

See also questions 10.16 and 20.5.


prev up next   contents search
about this FAQ list   about eskimo   search   feedback   copyright

Hosted by Eskimo North