prain
asked on
Simple but confused question
RUn this program...
#include <iostream>
#include <iostream>
using namespace std;
main()
{
cout.setf(ios::hex);
cout.setf(ios::showbase);
cout << 100 ;
return 0;
}
Why not displaying 0X64 ? (Which is the expected value)
#include <iostream>
#include <iostream>
using namespace std;
main()
{
cout.setf(ios::hex);
cout.setf(ios::showbase);
cout << 100 ;
return 0;
}
Why not displaying 0X64 ? (Which is the expected value)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.