- NEW!
Help answer this question below.
You can use a FOR LOOP if for example you want to allow three login attempts before a screen comes up saying you've been locked out.
You can use a DO... WHILE loop or DO...UNTIL loop.
When you say "WHILE DOESN'T WORK" it sounds as though your real question ought to be what is wrong with this bit of code using a while loop.
In a visual C++ WinForm application, how do I pass a variable from an event to another event?
by WickeTD on February 24th, 2011
| 1 person likes this
The ____ of documentation is typically written first?
Input, output, internal program or external program
by jaleesakababygurl on December 6th, 2010
| 1 person likes this
In C++ is it possible to code a hacking program that automatically hacks?
by Jordan_P on February 26th, 2011
| 1 person likes this
Name two data items, which are best represented as constants and two that are best represented as variables in c++?
by betty on November 4th, 2010
| 1 person likes this
c++ directx picking is not working
by fbixzramiz on November 22nd, 2010
| 1 person likes this
You're reading What do i do if i want to loop my program without goto when while doesn't work? I need it to be able to run a lot of code based off of whether the login was correct or not. I don't want to spaghetti-string all my code based off goto commands.
Comments