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