Introduction to Programming in C++
To get started, I recommend working through the free, community based Introduction to C++ online tutorial.
Since the above tutorial is rather new and not yet complete, you may also want to consult the older Learn C++ online tutorial. Note that there are a lot of advertisements if you aren't using an ad blocker.
If you want to invest in an excellent C++ book, I recommend buying Programming: Principles and Practice Using C++ by Bjarne Stroustrup, the designer and original creator of C++.
If you prefer watching video tutorials rather than working through a book, I recommend C++ Tutorial for Beginners.
For learning any programming language it is most important to write your own code. As a student of HTL Bulme, you may use the provided SSH access to our sandbox server.
C++ reference documentation can be found at cppreference.com.
Contents
Presentations
The following interactive presentations provide a good starting point for self-study as well.
- Introduction to Programming
- Programming in C++ - Introduction
- Fast Track to C++ Syntax for (C) Programmers
- C-Arrays
- C-Strings
- C-Structs
- Pointers
- Free Store
- Working with Multiple Files
- File I/O
- Function Pointers
- Commandline Arguments
- Data Structures and Algorithms - Introduction
- Standard Library - Containers
- OOP - Structs (Composite Data Types)
- OOP - Classes and Encapsulation
- Operator Overloading
- Unit Testing (Catch2)
- Unit Testing (Google Test)
Special Topics
Literature
- Bjarne Stroustrup (2014) Programming: Principles and Practice Using C++
- Bjarne Stroustrup (2022) Tour of C++
- Scott Meyers (2014) Effective Modern C++: 42 Specific Ways to Improve Your Use of C++11 and C++14