./Game
Wierd I typed chdir in the terminal, is says command not found so I didnt bother doing man chdir, but there is man files for it? Cool Ill read them thanks.
Sir, e^iπ + 1 = 0, hence God exists; reply!
The man pages describe more than just the terminal - they also have information regarding system calls, the C library, and any other packages that you may have installed. You also might need to do a man 2 chdir, as just a man chdir redirects you to the bash manual which is not what you want.
Did you ever wonder why we had to run for shelter when the promise of a brave new world unfurled beneath the clear blue sky?
SDL_main.m holds some OSX specific stuff for launching the program including setting the launch path. It's part of the Xcode template for SDL. That file is compiled into libSDLmain so that SDL programs built from the command line will also work correctly.

