FireEdgeX
0

LESSON 01 ยท C++

A first C++ program

A C++ program starts at main and writes output through standard streams.

5 min readIn progress

THE IDEA

Understand the concept

C++ source is compiled into a program before it runs. The main function is the entry point, and including iostream gives access to cout for output; each statement ends with a semicolon.

WORKED EXAMPLE

See it in context

Example