Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool MayBeIncrementedAgain;
- int i;
- while( true ) {
- if( poll( Key.k ) && MayBeIncrementedAgain ) {
- i++;
- MayBeIncrementedAgain = false;
- } else if( !poll( key.k ) ) {
- MayBeIncrementedAgain = true;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment