Share via


Compiling and Linking Multithread Programs

 

The Bounce.c program is introduced in Sample Multithread C Program.

Programs are compiled multithreaded by default.

  1. On the File menu, click New, and then click Project.

  2. In the Project Types pane, click Win32.

  3. In the Templates pane, click Win32 Console Application, and then name the project.

  4. Add the file containing the C source code to the project.

  5. On the Build menu, build the project by clicking the Build command.

  1. Compile and link the program:

    CL BOUNCE.C  
    

See Also

Multithreading with C and Win32