As would I. And I didn't really look too much at your code, so as for the compiler errors.

After your includes add this line:
Code:
#pragma warning(disable : 4996)
Please only do that when me, tabstop, mats, Elysia, laserlight or Salem say its ok. Otherwise you are just going to ignore your way out of all kinds of stuff. In this case, you are simply telling Microsoft to shove it with their unportable functions.

Do I really need to baby step you through the others? The errors say exactly what is wrong.