Compiling and Linking Multithread Programs
For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.
The Bounce.c program is introduced in Sample Multithread C Program.
Programs are compiled multithreaded by default.
On the File menu, click New, and then click Project.
In the Project Types pane, click Win32.
In the Templates pane, click Win32 Console Application, and then name the project.
Add the file containing the C source code to the project.
On the Build menu, build the project by clicking the Build command.
Compile and link the program: