|
|
The stream library did not contain an insertion operator for char. So inserting a char was taken as inserting an integer value, and it was converted to decimal. This omission was due to problems with overload resolution in early versions of the AT&T C++ Language System. Any old code such as:
char c ; cout << c ;may be replaced by:
char c ; cout << (int)c ;