Well, since you are just returning main, then don't worry about it at all. Either make it up yourself, or return a 1 or something instead. I've found online people defining it, but don't really want to keep searching for this... define the values yourself in an enum or a #define or something...
well the only problem with that is I get these errors
1 2 3 4
1>MainCode.obj : error LNK2019: unresolved external symbol __imp__joyGetPos@8 referenced in function _main
1>MainCode.obj : error LNK2019: unresolved external symbol __imp__joyGetNumDevs@0 referenced in function _main
I didn't do this before because I have no idea what those are saying and I figured it would just be easier to find the include file