Sunday, 15 January 2012
Program Of Putback Manipulator In C++
#include<iostream.h>
#include<conio.h>
#include<ctype.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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment