I use Visual Studio 2010. I read that the solution to my problem may be in the Linker settings of the Solution Explorer properties. In Linker, it is set to Windows, instead of Console. I do not see either setting in my properties dialogue box. This is the error I get when I compile: error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup; fatal error LNK1120: 1 unresolved externals. Can someone explain??