#include<iostream> using namespace std; int main() { int x; cout<<"Enter an int:"; cin>>x; cout<<hex<<x<<endl <<oct<<x<<endl; cout<<x<<endl; cout<<showbase<<dec<<x<<endl; cout<<showbase<<hex<<x; return 0; }
showbase
cout
0103
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)