Breaks

Sep 28, 2010 at 3:03pm
I am writing a programm for school and in the program i want to make it so it will skip lines of programm but then come back to it later does anyone know how that would be able to be done if so send me an example please and thank you.
Sep 28, 2010 at 3:29pm
Something like this?
1
2
3
4
5
6
7
void f(){ /*...*/ }

void g(){
    //...
    f();
    //...
}
Last edited on Sep 28, 2010 at 3:29pm
Sep 28, 2010 at 3:47pm
Use either functions, loops or (but I highly recommend to not use it) labels and goto's.
Topic archived. No new replies allowed.