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.
Ability to implement memory-efficient data structures and efficient generic algorithms using C++.
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.
Detailled, bilingual slides of the lectures will be made available.
B.Stroustrup, The C++ Programming Language (4th Edition), Addison Wesley 2013.
Prerequisites / Notice
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»).
Performance assessment information (valid until the course unit is held again)
Repetition only possible after re-enrolling for the course unit.
Additional information on mode of examination
The course will be offered for the last time in HS22. Work on a programming project with online hand-in. 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»).