What should we learn in the beginning?

Basic C++ facilities

Which C++ topics should we learn about in the beginning? What are the C++ basics we need to learn before moving to classes, templates and the C++ Standard Library?

In the beginning, we should learn about the following essential C++ topics:

  • Built-in types
  • Declaration
  • Definition
  • Initialization
  • Operands
  • Operators
  • Expressions
  • Statements
  • Built-in statements
  • Scope and lifetime
  • Automatic and dynamic storage
  • References
  • Functions
  • more...

What should I learn when it comes to C++ functions?

Basic function-related topics include the following topics:

  • Function declarations
  • Function definitions
  • Invoking a function
  • Passing arguments by value, reference, and const-reference
  • The return statement
  • Function overloads

What to learn next?

Then, we can start learning about C++ classes, templates, and the C++ Standard Library.

Posted on January 12, 2025, by

Slobodan Dmitrovic

Slobodan Dmitrovic is a software development consultant, C++ trainer, and author of several books on C and C++.

Contact Slobodan for C++ training and consultancy services.