| title | Compiling and Linking Multithread Programs | Microsoft Docs | |||||||
|---|---|---|---|---|---|---|---|---|
| ms.custom | ||||||||
| ms.date | 11/04/2016 | |||||||
| ms.reviewer | ||||||||
| ms.suite | ||||||||
| ms.technology |
|
|||||||
| ms.tgt_pltfrm | ||||||||
| ms.topic | article | |||||||
| dev_langs |
|
|||||||
| helpviewer_keywords |
|
|||||||
| ms.assetid | 27589afc-daf2-4f26-b868-a99de5c9dfec | |||||||
| caps.latest.revision | 8 | |||||||
| author | mikeblome | |||||||
| ms.author | mblome | |||||||
| manager | ghogen | |||||||
| ms.workload |
|
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:
CL BOUNCE.C