FAQ: Hello World - Introduction to C++

This community-built FAQ covers the “Introduction to C++” exercise from the lesson “Hello World!”.

Paths and Courses
This exercise can be found in the following Codecademy content:

Learn C++

FAQs on the exercise Introduction to C++

There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply (reply) below.

If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.

Join the Discussion. Help a fellow learner on their journey.

Ask or answer a question about this exercise by clicking reply (reply) below!

Agree with a comment or answer? Like (like) to up-vote the contribution!

Need broader help or resources? Head here.

Looking for motivation to keep learning? Join our wider discussions.

Learn more about how to use this guide.

Found a bug? Report it!

Have a question about your account or billing? Reach out to our customer support team!

None of the above? Find out where to ask other questions here!


The first lesson whwre you run codecademy it started to position the code on the bottom but for the solution it was right next to it How?

What is object orientated programming in simple words if possible?

1 Like

The phrase “Object Oriented” means that a program compiles in segments, not line-by-line. For example, in C++, you can create a method that contains different attributes, such as string name1 = "death-waltz"; as a part of the constructor, and then call it again CUSTOMIZABLY, meaning you can replace it with new characters, if the string is not immutable. In non-OOPLs, you cannot do this to my understanding. Hope this helps!

Just so you guys know, cout does not stand for character output, as you said in lesson 3: “Output”. Rather, it stands for console output. I understand some people refer to it as C++ out, C out, character out, create output, etc., but I do believe the actual meaning is console output .

1 Like

Can I use c++ to create games? If not what code can I use?

Modern desktop games like Half-life, Doom and so on are mainly written in C++ with API libraries for graphics, such as: OpenGL, DirectX, Vulkan. There are also lots of complicated math involved so you may consider brushing up your knowledge in group theory, probability theory, calculus and etc.

1 Like