Yeah he doesn't really explain how he wants to "gather" the keystrokes that's basically what I was asking.
To elaborate on what you just suggested, it's a very good idea but most compilers won't accept getchar as a left operand. In order for it to work you would need to do something like:
Code:
char c;
do
{
c=getchar();
}while(c != 'A')