Wednesday, 23 April 2014

c++ header file iomanip

// use of setfill and setw functions of iomanip header file





#include<iostream>
#include<conio.h>
#include<iomanip>
using namespace std;
int main()
{
cout<<setfill('x')<<setw(10);
cout<<77<<endl;
getch();    return 0;
}

No comments:

Post a Comment