Setting up Application Project Properties in Visual Studio .NET 2003
Visual Studio Linker System Properties
Here we will examine the C++ Linker System Properties Tab.
SubSystem This option tells the Linker what type of subsystem this application is running on top of. Choices include:
Not Set
Console
Windows
If you have a main() function: use Console.
If you have a WinMain() function: use Windows.
The difference is that when you run the application from inside the Visual Studio IDE, if you have specified the Console subsystem, a console window will be opened for you automatically. Specifying the Windows subsystem will not open up a new console window automatically.
For the purposes of this class, you should be using the Windows subsystem.
If you want a debugging console for your application in addition to your game window (usually a good idea!) you should explicity create one via a call to AllocConsole() (see Visual Studio documentation for more details).