return to line in code??

Is there a way to tell my code to return to a different part in the code?? like say i make a variable int x and my code gets done, can i make it return to that variable or part in the code to make it run again without using a loop?
yes, don't remember how, but I think

back:


go_to back;

or similar.
Last edited on
goto?
You should use a function for this. goto has it's uses but controlling the program flow like this is not one of them.
Topic archived. No new replies allowed.