It's not a big issue but next time try to post code as a code object...not so messy.
you should make sure it is saved as a "c" file first, don't assume it is "c"....you must type main.c, then save or try "main.c" with the quotations. You should check the folder later a view the details, if you see a main.wdl delete it. Go into med under file > map properties, load the main.c as the file to control your game.


Everybody Poops.
here are some tutorials I made.
http://www.acknexturk.com/blender/