Added _CRT_SECURE_NO_DEPRECATE and _CRT_NONSTDC_NO_DEPRECATE to preprocessor definitions.

Changed getch() to getchar() in Main.cpp