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