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