C++ runs the world's game engines, operating systems, cars, and stock exchanges — and this book teaches it to complete beginners. One-time $4.99 — and you keep it forever.
C++ Programming: Fundamentals is a plain-English first course in C++ for people who have never programmed. No experience needed, no expensive software: every tool is free, on Windows, Mac, or Linux. You type real programs from the first chapters — and every program printed in this book was compiled and run with a real compiler before it went on the page, so the outputs you see are the outputs you will get.
Inside (12 chapters, 69 pages, illustrated — one teaching diagram per chapter):
- What C++ Is — the language under the floorboards: where C++ runs in everyday life (game engines, operating systems, cars, stock exchanges), and the one idea of compiled code
- Setting Up Your Workshop — free tools, any computer: Visual Studio, GCC, or Clang, set up in minutes, and your first program compiled and run
- Your First Program, Taken Apart — every line of "Hello, world!" explained, plus how to read your first compiler error like a mechanic
- Variables and Types — named boxes in memory: whole numbers, decimals, letters, yes-or-no flags, text, and constants under glass
- Talking Both Ways — output and input: printing to the screen, reading from the keyboard, and the famous whole-line trap (and its fix)
- Making Decisions — if, else, and switch: pricing a movie ticket with a ladder of questions, and matching exact choices with switch
- Loops — doing it again without typing it again: counted for loops, while loops, running totals, and how infinite loops happen (and how to stop them)
- Functions — small machines with names: build your own, pass values in, get answers back
- Arrays, Vectors, and Strings — one name, many values: a score keeper that counts, averages, and finds the highest
- Structs and a First Taste of Classes — bundling data, then behavior: your own types, private drawers, and the area of a rectangle
- Pointers, Explained Plainly — addresses and arrows: the famously scary topic, taught with house numbers until it is not scary at all
- Debugging, a Real Program, and Where to Go Next — a complete number-guessing game capstone, a debugging method that works, and your honest next steps (including the entry-level CPE certificate, if you want a milestone)
By Cosmo, published by Kaila's World. Instant download after checkout — the PDF is delivered automatically to your email. Personal-use license (see our Digital Rights & Licensing Policy). The companion volume, C++ Programming: The Advanced Course, picks up where this one stops.