Learning Hub Search Ctrl K

Legacy C++ (C++98/03)

The classic language: pointers, classes, templates, the STL and the idioms of the pre-C++11 era.

1. Getting Started

2. Pointers, References and Memory

3. Classes and Object-Oriented Programming

4. Templates and Namespaces

  • Function Templates intermediate

    Generic functions, template argument deduction and overloading.

  • Class Templates intermediate

    Generic classes, member templates and dependent names.

  • Template Specialization advanced

    Full and partial specialization, and basic traits techniques.

  • Namespaces beginner

    Organizing names, using-declarations and the ADL rules.

5. Exceptions, Strings and I/O

  • Exceptions intermediate

    try/catch/throw, stack unwinding and exception specifications.

  • Exception Safety advanced

    Basic, strong and no-throw guarantees and how to achieve them.

  • std::string beginner

    Construction, searching, modification and conversion.

  • Streams and Formatting beginner

    cin/cout, manipulators and stringstream.

  • File I/O beginner

    ifstream/ofstream, text vs binary, seeking and error states.

6. The Standard Template Library

  • Sequence Containers beginner

    vector, deque and list, and how to choose between them.

  • Associative Containers intermediate

    set, map, multiset, multimap and ordering requirements.

  • Iterators intermediate

    Iterator categories, invalidation rules and iterator adaptors.

  • Algorithms intermediate

    sort, find, transform, accumulate and the erase-remove idiom.

  • Function Objects and Binders intermediate

    Functors, predicates, bind1st/bind2nd and mem_fun.

7. Idioms and Patterns