Sunday, 15 January 2012

Program Of Putback Manipulator In C++

#include<iostream.h>
#include<conio.h>
main()
{
clrscr();
char ch;
cout<<"press f6 or ^z to exit=";
while(cin.get(ch))
{
cin.putback(toupper(ch));
cin.get(ch);
cout.put(ch);
}
getch();
}

No comments:

Post a Comment