jr********@hotmail.com writes:
In C++, the amount of memory used to store int is 4 bytes, or dependent
upon the hardware?
I think still dependent on the machine, since C++ compiler is platform
dependent.
In C, it's dependent on the implementation, with some specific
constraints imposed by the standard.
But since your question is about C++, cross-posting it to comp.lang.c
was a bad idea.
Followups redirected.
--
Keith Thompson (The_Other_Keith)
ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.