io/manipulators-1a.cc - A variant of the program above - without showbase. | Lecture 3 - slide 20 : 27 Program 3 |
#include <iostream> #include <iomanip> #include <string> using namespace std; int main(){ cout << 17 << endl // without showbase << hex << 17 << endl << oct << 17 << endl; }