Hello Noorez and all Dev-C++ users,
Monday, June 21, 2004, 7:10:53 AM, Noorez wrote as follows:
NK> The marked loop keeps going on forever. Even if the condition in false
NK> cin >> goOn;
Do not use this, use rather this:
goOn = cin.get( );
this reads exactly one char, and now you don't need sync...
--
regards, Zodiaq
|