Your First C++ Program

Let's get our hands dirty working on a "Hello, World!" program in C++.

“Hello, World!” program

Below is the source code for your first C++ program. First, have a look at the code, then we will discuss it.

Press the RUN button and see the output!