View Single Post
Old 08-31-2008, 02:32 PM   #10 (permalink)
Baez
Baez's Avatar
 

Join Date: Sep 2005

Location: Toronto, Canada

Posts: 5,479

Baez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of lightBaez is a glorious beacon of light

Default Re: C++ Programming Help

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')

__________________


Last edited by Baez; 09-01-2008 at 01:22 AM.
Baez is online now