Programming in c
About Me
Kamalesh Kumar Singh
View my complete profile
Monday, February 7, 2011
Program to restrict keyboard using c++
#include
#include
#include
using namespace std;
int main()
{
char input[250] = {'\0'};
char *i = input;
char c;
cout<<"ENTER ALPHA CHARACTERS : ";
do{
c = getch();
if(isalpha(c)) cout<
}while(c!=13);
cout<
<<"PHRASE : "<
cin.ignore();
cin.get();
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment