Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Compiling and Linking Multithread Programs

Compiling and Linking Multithread Programs

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

  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.

To compile and link the multithread program Bounce.c from the command line

  • Compile and link the program:

    CL BOUNCE.C
    

Community Additions

ADD
Show:
© 2015 Microsoft