Thursday, 12 January 2012

Program Of Setwidth Manipulators In C++

#include<iostream.h>
#include<conio.h>
main()
{
clrscr();
cout.fill('-');
cout<<"There is a man"<<endl;
cout.fill('-');

   cout.width(8);
cout<<" There is a man"<<endl;
getch();

}

No comments:

Post a Comment