-
Notifications
You must be signed in to change notification settings - Fork 0
VS Compilation
Fredrik Averpil edited this page Jan 8, 2015
·
6 revisions
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
Compiling your first Hello World
program.
Table of contents
- Home
- Prerequisites
- Basic workflow
- Coding Style
- Binary Compatibility
-
Which compiler should I use?
- Windows users
- Unix / Linux users
- Mac OSX
- Writing the code
- Compiling the code
- Running the code
- Problems?
-
Getting setup with GCC
- Introduction
- Environment
- [[Writing Code|GCC Writing
hello world
]] - Compilation
- Getting setup with GCC
- Getting setup with Clang
-
Getting setup with MinGW
- Introduction
- Installation
- [[Writing Code|MinGW Writing
hello world
]] - Compilation
- Issues
-
Getting setup with VS
- Introduction
- Environment
- Installation
- [[Writing Code|VS Writing
hello world
]] - Compilation
- Getting setup with CodeBlocks
-
Getting setup with QtCreator
- Introduction
- Installation
- [[Writing Code|QtCreator Writing
hello world
]] - Compilation
- Issues