ios_base
very strange. the following code works properly (the output is 12) in the office with Borland C++ 5.0, but does not work at home with Borland C++ Builder 6.0 (the output is 18):
any ideas?
#include <iostream.h>
#include <iomanip.h>
void main(void){
cout.setf(ios::hex); // set the output to hexadecimal
cout << 18;
}
any ideas?
