Image

Imagevalera wrote in Imagecpp

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):
#include <iostream.h>
#include <iomanip.h>

void main(void){
   cout.setf(ios::hex); // set the output to hexadecimal
   cout << 18;

}


any ideas?