Sunday, 15 January 2012
Program Of Peek Manipulator In C++
#include<iostream.h>
#include<conio.h>
main()
{
clrscr();
char ch;
cout<<"press f6 or ^z to .exit=";
while(cin.get(ch))
{
if(ch==cin.peek())
cin.ignore();
cout.put(ch);
getch();
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment