Is there any other way to the same thing goto does?(You know what i mean i'm just too lazy too explain it right now >.<)
Goto messes everything up >.
For example, let's say i made a game that displays a menu, like:
"1. Play where is waldo
2.Quit"
Then you choose to play "Where is Waldo".
When you find him the program says "You won! and transports you back to the menu using goto.
But the next time you try to play "Where is Waldo" it'll say "You won!" again.
How can i fix that?
I'd like really simple answers, cuz kinda new to C++ :S
And please make an example too.