C/C++ Coding for Developers
Learn C and C++ programming from beginner to professional.
Browse by topics
C Basics
First C programs: types, operators, control flow, functions, arrays, structs, pointers, malloc and free, and the preprocessor, compiled and run from the command line with GCC and Clang.
C++ Basics
First C++ programs: references, classes, constructors, std::string, std::vector, namespaces, RAII and smart pointers, written the modern way from day one.
Classes
Object-oriented C++: constructors and destructors, the rule of zero, three and five, inheritance, virtual functions, operator overloading and value types.
Strings
C strings and their traps, std::string and std::string_view, parsing, formatting, Unicode and UTF-8, and text processing that does not overflow.
Input and Output
stdio and iostreams, files and binary formats, std::filesystem, command-line arguments, environment variables and talking to the operating system.
Standard Library
Containers, iterators, algorithms, std::optional, std::variant, std::expected, std::format, chrono and filesystem, and the C standard library underneath.
Modern C++
C++11 through C++26: move semantics, lambdas, auto, constexpr, ranges, concepts, modules, coroutines and what each standard changed for everyday code.
Templates
Function and class templates, specialisation, variadic templates, SFINAE, type traits, concepts and template metaprogramming without the pain.
Data Structures
Linked lists, dynamic arrays, hash tables, trees, heaps and graphs built by hand in C and C++, and when the standard containers do it better.
Algorithms
Sorting, searching, recursion, dynamic programming and graph algorithms in C and C++, with the complexity and the standard algorithm that already exists.
Concurrency
std::thread, mutexes, condition variables, atomics and the memory model, futures, pthreads, C11 threads, thread pools and the data races each one invites.
Performance
Profiling, benchmarking, cache-friendly data layout, inlining, vectorisation, compiler optimisation and reading the assembly your code turned into.
Get new posts by email
We send one email when a new post is published. No spam.