Thursday, 12 January 2012
Program Of Setwidth Manipulators In C++
#include<iostream.h>
#include<conio.h>
main()
{
clrscr();
cout.fill('-');
cout.width(8);
cout<<"There is a man"<<endl;
cout.fill('-');
cout.width(8);
cout<<" There is a man"<<endl;
getch();
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment