Skip to content
zerkszot44Public

About

C++ made easy: a free, beginner-friendly C++ guide. Short lines, plain words, a tiny example for every idea.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CppSteps — C++ made easy for beginners

A free, friendly guide to C++ for people who have never coded before. Short lines. Plain words. A tiny example for every idea.

What's inside

  • 112 lessons in 14 chapters: from "what is a program?" through variables, loops, functions, debugging, vectors, pointers and classes, to templates, lambdas, threads, and two full projects (a text adventure and a to-do app)
  • Reverse engineering basics (chapter 13): read x86-64 assembly, see how ifs, loops, structs and virtual functions look once compiled, use Ghidra and a debugger, and build and crack your own crackme. It only works on your own programs and legal practice targets. Every assembly listing is real GCC output
  • Practice problems with ⭐ difficulty levels, hints and answers, plus assembly puzzles
  • Hover to explain. Hover over (or tap) std::cout, a keyword, an operator, an assembly instruction or a new word, and a little box pops up saying what it means, with a link to the lesson that teaches it
  • One idea per box. Each lesson is split into small boxes you read one at a time
  • ▶ Run button on every full program, and 🔍 See assembly on reverse-engineering examples. Both open Compiler Explorer in your browser
  • Quizzes at the end of every chapter: instant-feedback multiple choice plus "show answer" exercises
  • Glossary of every new word, a cheat sheet, quick-reference pages, and a page of the best free resources
  • A printable certificate once you finish every lesson
  • Search (/), progress tracking, dark/light mode, bigger/smaller text, and a calm reading mode that dims everything except the box you're reading
  • Works on phones

How it's built

A static site with no frameworks. Lessons are plain text files in content/; build.js (plain Node.js, no packages) turns them into the finished site in docs/, which GitHub Pages serves.

Editing the guide yourself (optional)

You don't need any of this to read the guide: just go to https://zerkszot44.github.io/cppsteps/.

This part is only for changing the lessons. After editing files in content/, rebuild and preview on your own computer:

node build.js
python -m http.server 8765 --directory docs

Then open http://localhost:8765 (a preview that only you can see). When it looks right, commit and push. GitHub Pages republishes the docs/ folder online in about a minute.

Folder layout

Path What it is
content/*.md All lessons, one file per chapter (files are read in name order)
content/tooltips.txt The hover explanations: one line per word, word | lesson | explanation
assets/style.css All styling (dark + light themes)
assets/app.js Search, progress, dark mode, text size, calm reading, quiz answers
build.js The site builder (no npm packages needed)
docs/ The finished website (re-created on every build, don't edit by hand)

Writing lessons

@chapter 5 | Repeating things (loops)
@intro One sentence shown under the chapter on the home page.

@lesson 5.1 | while loops
Text before the first heading becomes the intro box.

## A heading starts a new box
Plain paragraphs. **bold** marks a new word. *italic*. `inline code`.
Link to another lesson: [[4.1]] or [[4.1|custom text]].

- bullet list
1. numbered list

| Table | Header |
|---|---|
| cell | cell |

```cpp
int x { 5 };        // C++ code, highlighted, with a Copy button
```
```cpp bad   (red "wrong" stripe)      ```cpp good   (green "right" stripe)
```output   (program output box)

:::key        (also: best, warn, tip, term, adv)  — optional custom title after it
Callout text.
:::

## Quiz time          (a heading starting with "Quiz" gets the quiz style)
:::question
The question.
---answer
The answer (hidden until "Show answer" is pressed).
:::

A @lesson with no text under it shows as "soon" in the lists (see chapter 12).

About

C++ made easy: a free, beginner-friendly C++ guide. Short lines, plain words, a tiny example for every idea.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages