Returning from function to function

So if i am in 'int main', then i go to function 'string choose_pokemon', then from there i go to function 'string main_menu' and then 'string pokedex' (where the program keeps crashing, but that one i'll figure out eventually), how do i set it up so that the user can return to the previous functions? (way too many lines of code this time to copy and paste)
Basically, im trying to make a main menu that can be accessed from any point in the program/game.
Last edited on
You have't given enough info. The funtion should return when you call return, or at the end of a function returing void, if there is no return;earlier.

Have you debugged pokedex()?
Topic archived. No new replies allowed.