/course_materials_standard_library_spring_2020

Materials for “Getting to know the standard library” course in spring 2020

C++ London Uni — Getting to Know the C++ Standard Library

This course is an introduction into C++ standard library containers and algorithms. We talk about the common principles and patterns for the standard library components and go into details for most widely used containers and algorithms.

The course uses small algorithmic problems (for example, checking if a word is a palindrome) to illustrate the uses of containers and algorithms and to discuss the best practices and common mistakes.

Prerequisites: basic knowledge of C++ (types, classes, loops, constructors) or familiarity with any other programming language with interest in C++.

Lessons

  1. Quick introduction into unit testing in C++ (PDF slides, YouTube stream)
  2. std::vector (PDF slides, YouTube stream)
  3. std::string (PDF slides, YouTube stream failed)
  4. First look into the standard library algorithms (PDF slides, YouTube stream)
  5. Associative containers — sets and maps (PDF slides, YouTube stream)
  6. Using custom types as associative container keys (PDF slides, YouTube stream)
  7. std::function, structured bindings and more algorithms (PDF slides, YouTube stream)