Tuesday 24 February 2015

Manipulators in C++

#include<iostream.h>
#include<conio.h>
#include<iomanip.h>
main()
{
char ch;
clrscr();
while(!cin.eof())
{
cin>>resetiosflags(ios::skipws);
cin>>ch;
cout<<ch;
}
getch();
}

No comments:

Post a Comment