I am using msvc 2010, but i cannot do step three because the program only gets to 'shoot = true;' if space is pressed. using the debuger is moves the program one frame at a time. I would have to press play, rush to the other side of the screen, click it, then press space.
Now I could be wrong, but I'm pretty sure msvc express comes with the same debugging capabilities as the normal version.
In which case, just set the configuration to debug build and click the green arrow or w/e and it will run normally until it hits a break point.
Just add the break-point somewhere sensible.
Then you can step through the program to ensure its working properly.
Now I could be wrong, but I'm pretty sure msvc express comes with the same debugging capabilities as the normal version.
In which case, just set the configuration to debug build and click the green arrow or w/e and it will run normally until it hits a break point.
Just add the break-point somewhere sensible.
Then you can step through the program to ensure its working properly.
It does.
All nano has to do is place a breakpoint after he's handeled the right keycode, aka. "Space". And then place a breakpoint on all the significant logical statements.
As someone said in one of your previous posts. "You should learn debuging because that's going to fix moste of your problems". It's really easy and it fixes your problems quickly.