Die Ingenieur-Tool-Kurse sind ausschliesslich für MAVT-Bachelor-Studierende.
Kurzbeschreibung
The programming model of C++ is discussed in some depth. In particular the mechanisms for efficient memory management and generic programming with C++ are covered.
Lernziel
Ability to implement memory-efficient data structures and efficient generic algorithms using C++.
Inhalt
Vectors, pointers and iterators, range for, keyword auto, a class for vectors, subscript-operator, move-construction and iteration. RAII (Resouce Allocation is Initialization) Principle, Templates and Generic Programming, Functors and Lambda Expressions.
Skript
Detailled, bilingual slides of the lectures will be made available.
Literatur
B.Stroustrup, The C++ Programming Language (4th Edition), Addison Wesley 2013.
Voraussetzungen / Besonderes
Lecture Series Informatik I 252-0832-00L or equivalent knowledge in programming with C++.
Course can only be taken if the programming project is executed and submitted. If no solution to the programming project is submitted, the course is considered failed («no show»).