Learn c++
Short lessons written around the screening tests employers use. Read one, then take the test.
Object lifetime, references and RAII in C++When constructors and destructors run, how references differ from pointers, and why RAII makes resource handling safe.Lesson 1
Inheritance and virtual functions in C++How virtual dispatch decides which function runs, why base classes need virtual destructors, and how overloading resolves.Lesson 2
STL in practice: vector, map, set and iteratorsUse vector, map, unordered_map and set correctly, search with find, erase while iterating, and avoid the operator[] insert trap.Lesson 3
Copy, move and operator overloadingWhen the copy constructor, copy assignment and move constructor run, the rule of three, and how to overload operators without surprises.Lesson 4
Advertisement