Hello World
Write, compile, and execute your first C++ program!
StartKey Concepts
Review core concepts you need to learn to master this subject
New Line
Program Structure
Basic Output
Compile Command
Execute Command
Single-line Comments
Multi-line Comments
New Line
New Line
std::cout << "Hello\n";
std::cout << "Hello again\n";
The escape sequence \n
(backward slash and the letter n) generates a new line in a text string.
Hello World
Lesson 1 of 2
What you'll create
Portfolio projects that showcase your new skills
How you'll master it
Stress-test your knowledge with quizzes that help commit syntax to memory