What header file can I use to get the size of ints and floats on various systems?
What header file can I use to get the size of ints and floats on various systems?
You can #include <limits> and then use std::numeric_limits. Or if you mean size in bytes, then just use sizeof.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)