0.1 — How this guide works
Welcome! This guide teaches C++ from zero. You do not need to know anything about coding.
Read one box at a time#
Every lesson is cut into small boxes. Each box holds one idea.
- Read one box.
- Try the example.
- Stop when you want. Come back anytime.
You do not need to remember everything. Nobody does. Real programmers look things up all day.
The coloured boxes#
Some boxes have a coloured stripe. They mean different things:
The most important idea in that part of the lesson. If you remember only one thing, remember this.
A habit that will save you trouble later.
A common mistake. Read these carefully.
A new word, explained in plain language.
Bonus info for curious readers. You can skip it and come back later.
Code boxes#
Code looks like this. Press Copy to copy it.
std::cout << "I am a code box!\n";What the program shows on the screen looks like this:
I am a code box!Most chapters end with a short quiz. Try to answer first. Then press Show answer to check yourself.
Getting an answer wrong is fine. It shows you what to read again.
Reading tools#
At the top of each lesson you will find three buttons:
- A+ / A- make the text bigger or smaller.
- Calm reading dims everything except the box under your mouse. This helps you focus.
You can also press / to search, and the arrow keys ← → to go to the previous or next lesson.
Type the examples yourself instead of copying them. Your fingers learn too!
Tip: press ← / → to move between lessons, / to search.