What differences are there between Windows and Console applications ?
When creating a new project in Visual C++ , it asks to choose either of the above .
The entry point of console applications is wmain
(since Visual studio 2008 IIRC), main
if you opt out of Unicode-by-default. For desktop ones, it's wWinMain
/WinMain
.
That is not to say that the techniques are otherwise mutually exclusive. Console applications can still use the whole gamut of Win32 API, and desktop ones can use console I/O (but they have to explicitly create a console window first).