Everyone I talk to says Goto statements are bad programming but I have yet to figure out a way to return to a line of code that I have passed in the program. The only way I know of to go back up the code is to do this:
A:
blah();
blah();
cout<<"Blah";
goto A;
thats the only way i can think of to go back up to the start, how else would you do it? I know that people use for while loops and such but again, how would you go back up the code? Please help me turn from the dark side.



LinkBack URL
About LinkBacks



