First off, I know goto's are generally evil because of the "spaghetti code" they tend to create, but there's no other way I can see to do what I need to do.
Here's the problem. I have a run function in a class. I have a goto marker called end: at the... well, at the end of it. I would like to go to end from a different function in the same class, but I keep getting errors.
These errors are in the functions where I'm trying to call the goto, which are after the run function. Is it possible to go to a label point in a different function with gotos?Code:appclass.cpp 309 error: label 'end' used, but not defined