Skip to content
Fredrik Averpil edited this page Jan 8, 2015 · 6 revisions

Compilation with Visual Studio's "cl"

Launching the Developer Command Prompt

Launch the Developer Command Prompt for VS2013 tool. It can be found under the Start button -> Visual Studio 2013 -> Visual Studio Tools.

Compiling

Go to the location where you saved the helloworld.c file and compile it using the cl C/C++ compiler, by typing the following the in Developer Command Prompt:

cd \src
cl helloworld.c

Running the compiled code

If all went well, you can run your newly created application by executing the helloworld.exe file which was created.

C:\src\helloworld.exe
Clone this wiki locally