if you create a function in main.cpp and add declaration to Globals.h, then you can call this function from otherFile.cpp.

If you don't need any statements after "do stuff", then your program logic automatically will return to the main(), because end of function call, so just add instructions after otherFile(); call in main, and they will be executed after this function.

You decalred otherFile() as returning bool, so put and end of your function return true; or return false;

C++ return to main
I ride about 17 miles each session. After the ride, the outside of my hips sore: only the parts near the outermost joints, most likely the tendon (although this is only a guess). My knees are fine, my ankles are fine, etc.

The only thing that might not fit perfectly for me is the seat height. I'd rather have a longer post so I can lift the seat up an inch or two. Do you think this might create the soreness in the area of the outer hips? 
