Take a look at the hello.cpp file in the code editor that is placed in the middle of the screen. It’s a C++ program!

In our code editor, the file name is displayed at the top:


C++ programs are stored in files which usually have the file extension .cpp, which simply stands for “C Plus Plus”.

The code inside our C++ file is a classic first step all new programmers take — they greet the world through the terminal!

The terminal is the black panel on the right. It should be blank right now. The code in the text editor will print text out onto the terminal. More specifically, it will print the phrase Hello World!.

Before we explain what all that mumbo jumbo is, let’s run the program to see what happens.



Press Run to see this program in action.

What message appeared in the terminal?

Take this course for free

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?