Contact
Evil Genius SocietyHomeLearnForumLeaderboardSocialsMessages
← Back to module

Lesson 1 of 6

If you did the Python track first, you're used to clicking Run and seeing output right on the page. C++ doesn't work that way here, and it's worth understanding why before you install anything.

Python is interpreted. C++ is compiled.

When you click Run on a Python exercise, a real Python interpreter — running inside your browser — reads your code and executes it line by line. That's possible because an interpreter is software, and software can run inside other software.

C++ is different. Before a C++ program can run, it has to be compiled: translated from the text you wrote into a machine code file your computer's processor can execute directly. A compiler is a serious piece of software — it needs to understand your entire program, check it for real errors (not just run it and see what breaks), and produce a genuine executable file on disk.

Running a full C++ compiler inside a browser tab, for free, for every learner, isn't practical the way a Python interpreter is. So instead of a fake, limited version of C++ running in your browser, you're going to install the real thing on your own computer — the same compiler, the same tools, that professional C++ programmers use every day.

What this means for you

  • You'll set up a real environment first. The next few lessons walk you through installing a compiler and an editor, one for whichever operating system you use.
  • You'll type and run code in a terminal, not a box on this page. That's a real skill on its own, and it's the same terminal you'd use for any programming job.
  • Exercises work differently. Instead of clicking Run and getting an instant pass/fail, each exercise gives you a prompt, an optional hint if you get stuck, and a solution you can reveal when you're ready to check your work — like this:

Why bother with the real thing?

It's more setup than clicking a Run button, and that's a fair trade. In exchange, everything you learn works exactly the same way outside this website: the same compiler, the same error messages, the same terminal commands. When you finish this module, you won't just have completed a lesson — you'll have a working C++ development environment on your own computer, ready for real projects.

Checkpoint

  • C++ needs a real compiler because it's a compiled language, not an interpreted one.
  • You'll install real tools on your own machine instead of using an in-browser runner.
  • Exercises use hints and reveal-able solutions instead of auto-checked output.
  • The next three lessons cover setup for Windows, macOS, and Linux — do the one that matches your computer.

Questions about this lesson

Log in to ask a question.