This topic has not yet been rated - Rate this topic

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
    
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.