using Manipulators from iomanip class with Streams

This video tutorial explains how to use manipulators available from iomanip class in your program with streams.
You are gonna learn which manipulators are available and their use in detail with example.

source code for this tutorial

#include <iostream>
#include <iomanip>
using namespace std;

int main()
    cout << "hi"<<endl;
    cout << hex << 100 <<endl;

    cout << setw(10) << setfill('@') << "anil"<<endl;

    cout << "shetty";

    return 0;

Back To Top