Zoo tutorials: [ SQL | Linux | XML ]
ProgZoo: [ Java | C# | VB | C++ | Perl ]
Log in

A Gentle Introduction to
C++ Programming

Running programs

 

0) Hello World

Running programs
There are typically two stages to running a program. First we compile, then we execute.

1. [ C++ ] Compile


Big

The compiler is commonly called c++ the C compiler is traditionally called cc. The output is compiled to an executable called a.out

[andrew@sqlzoo2 andrew]$ c++ Hello.cpp
[andrew@sqlzoo2 andrew]$ ./a.out
Hello World!