R
Robert
Greetings everyone,
I was wondering if a const variable or object took up space. I know
that a #define'd macro doesn't, as it's basically just interpreted by
the compiler. If a const does take up space, is there any reason to
choose it over a #define'd constant?
-- Thank you
P.S. if it makes any difference, I ssh to a SunOs machine where I use
g++ as my compiler.
I was wondering if a const variable or object took up space. I know
that a #define'd macro doesn't, as it's basically just interpreted by
the compiler. If a const does take up space, is there any reason to
choose it over a #define'd constant?
-- Thank you
P.S. if it makes any difference, I ssh to a SunOs machine where I use
g++ as my compiler.