Hide menu

TDDE18 Programming (C++)

Lecture slides


Slides

Each lectures have two versions of its slides:

  • Lecture version This version of the slides is shown during the lecture. This is good to use if you want to follow along in the lecture.
  • Handout version This is a version of the slides with more textual descriptions of what is going on. This version is useful for repetition.

If you want to complement the lectures with the course book C++ Primer, 5th Edition you can find reading instructions here

Slides

Reading instructions for C++ Primer, 5th Edition
Lecture 1
Basic syntax and input/output: Lecture version   |   Handout version
Read the terminal guide here.
Lecture 2 & 3
Functions, struct and headers: Lecture version   |   Handout version
Lecture 4
Pointers and dynamic memory: Lecture version   |   Handout version
Lecture 5
Classes and special member functions: Lecture version   |   Handout version

Preliminary slides

Lecture 6 & 7
Vector, inheritance, polymorphism, exceptions and command-line arguments: Lecture version   |   Handout version
Lecture 8 & 9
Containers, iterators, algorithms, lambda functions (and smart pointers): Lecture version   |   Handout version

Extra material

These are extra slides that are not mandatory for the course but still contains some extra knowledge relating to C++.

Extra lecture
Function templates, class templates, special iterators, dependent names, namespaces: Handout

Page responsible: Christoffer Holm
Last updated: 2023-09-25