About Cpp From Scratch

Plain answers to common C++ questions, from data types, operators and loops to classes, strings, containers and memory.

Who this site is for

For beginners and programmers coming from C, Python or Java who want direct answers to C++ syntax and concept questions.

How the guides are written

  • Answer first. Each guide leads with the direct answer, then explains the why and the how.
  • Practical numbers. Concrete values you can use, with ranges rather than false precision.
  • Connected, not repeated. Short, focused articles link to the in-depth guide for their topic, so you can go as deep as you need.
  • Dated. Every article shows when it was published.

Where to start

browse every topic.