I tried to write a password encode program,but the it doesn't seem to let me enter the string.Here is a part of the program in main().
cout << "Please select mode\nA.Encode\nB.Decode" << endl;
cin.get(Mode);
switch(Mode)
{
case 'A':
cout << "Please enter text(not more than 100)" << endl;
char Word[101];
cin.getline(Word,100);
Encode(Word);
b1=false;
break;
..............
I tried putting a system("PAUSE"); in between line 7 and 8.
It says like
"Please enter text(not more than 100)
Press any key to continue.."
What is the problem??