Loading...

Fundamentals

Introductory topics for starting with C++, including basic syntax, variables, operators, loops, and functions.

Fundamentals

A starting point for C++: basic syntax, the build process, variables, data types, and operators. Learn control flow with conditionals and loops, function definitions, and using standard headers with #include.

Goal: Master basic syntax and control flow to build a solid foundation for more advanced C++ topics.

TL;DR

  • First program: int main(), std::cout, #include <iostream>.
  • Core types: int, double, char, bool, std::string.
  • Control flow: if/else, switch, for, while, do...while.
  • Functions: declaration, definition, parameters, return types.

Scope and Lifetime in C++

28 May 2026 • Fundamentals

Learn scope and lifetime in C++ to understand variable visibility, object lifetime, and memory management concepts.

C++