Why blocks first
A beginner writing C++ by hand juggles two problems at once: what the program should do, and how to express it without a syntax error. Blocks remove the second problem for a while, so all attention goes to logic — sequence, loops, conditions, functions, arrays.
g++.Your first session (30–45 minutes)
- Install and open. Get KuaiJiZi C++ Tutor from Microsoft Store and open the free-build workspace.
- Make the program say something. Drag an output block, type a message, run it. Understanding “I built → it ran” matters more than the syntax.
- Add a variable. Store a number, then print it. This is the idea of memory.
- Add a loop. Print the same thing five times — but write the loop, not five blocks.
- Add a condition. Print one message if a number is bigger than ten, another if it is not.
- Read the generated code. Look at the code pane and match each block to its line. Do not try to memorise it — just see the correspondence.
That is already a complete, runnable program using variables, loops and conditions. Most beginners are surprised how quickly this happens.
What you are really learning
- Decomposition — turning “make a calculator” into small steps.
- Sequence — order matters; computers follow instructions literally.
- Repetition — when to use a loop instead of copying.
- Conditional logic — “if this, then that, otherwise…”
- Abstraction — wrapping a repeated job into a function.
These transfer to every language. Learning them with C++ as the vehicle means the syntax you meet later is already familiar from the generated code.
Moving from blocks to hand-written code
- Watch the shape — build and run without reading code.
- Read the mapping — see which block produces which line, and predict the output before running.
- Drop the blocks — rewrite the same logic in the code editor page; switch back to compare whenever you get stuck.
The full explanation, including block search and JSON snapshots, is in How do blocks become real C++ code?
FAQ
Is this real C++ or a simplified language?
Real C++. Blocks generate standard C++ source code, which is then compiled and executed like any other program.
Do I need to install a compiler first?
The app detects a local compiler automatically; if none is found it can use a remote compile service, so you can start immediately. See installing g++ on Windows when you want local builds.
What age or level is it for?
It suits anyone who can follow “first do A, then B; if X, do C”. No prior coding experience is required, and adults starting from zero use it too.
Should a beginner learn Python instead?
Both are fine. If the goal is deeper algorithmic work, C++ is the common choice; blocks let you start that path without the initial syntax barrier.
Ready to run your first program?
Install from Microsoft Store, or read how the three compile & run modes work.