The Bounce.c program is introduced in Sample Multithread C Program.
Programs are compiled multithreaded by default.
To compile and link the multithread program Bounce.c from within the development environment
-
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.
To compile and link the multithread program Bounce.c from the command line
-
Compile and link the program:
В Copy Code
CL BOUNCE.C