Creating a C++ project
All our examples will require Visual Studio IDE. We will now show you how to properly set up an IDE. We'll also point out specific settings that will impact multithreaded applications.
Make sure Visual Studio (VS) is up and running.
How to do it...
Run Visual Studio and select a new project on the Start page. A new window with multiple options will appear. Under Templates on the left side, select C++ and expand the C++ node. You'll see the CLR, General, Test, and Win32 options. Then, perform the following steps:
- Select Win32. You'll see two options in the middle row: Win32 console application and Win32 project.
The Win32 project option is used for applications that have a Graphical User Interface (GUI) other than ...