>One note: the references online say CHAR_BIT is defined in <climits>
Well Borland let me use <limits>. Maybe <limits> includes <climits>. I'll have to try it with Dev-C++ tomorrow.
I'm glad you mentioned this 7stud, as there should be something defined in <limits> for this. You know, something along the lines of:
Of course we've seen min and max:
The question is: where's a good reference for these C++ limits?
cout << std::numeric_limits<char>::min() << endl;
cout << std::numeric_limits<char>::max() << endl;