FI:PB161 C++ Programming - Course Information
PB161 C++ Programming
Faculty of InformaticsSpring 2022
- Extent and Intensity
- 2/2/0. 3 credit(s) (plus extra credits for completion). Recommended Type of Completion: zk (examination). Other types of completion: z (credit).
- Teacher(s)
- RNDr. Nikola Beneš, Ph.D. (lecturer)
RNDr. Petr Ročkai, Ph.D. (lecturer)
Mgr. František Bráblík (seminar tutor)
Mgr. Jan Juračka (seminar tutor)
Mgr. Lukáš Korenčik (seminar tutor)
Bc. Tomáš Krchňák (seminar tutor)
Mgr. Patrick Ondika (seminar tutor)
Bc. Jakub Šárník (seminar tutor)
Bc. Michal Barnišin (assistant)
Mgr. Martin Beľa (assistant)
Ing. Dávid Bolvanský (assistant)
Mgr. Jan Jedelský (assistant)
Bc. Martin Kozlovský (assistant)
Mgr. Adam Matoušek (assistant)
Bc. Vojtěch Nájemník (assistant)
Bc. Dominik Tichý (assistant)
Mgr. Šimon Varga (assistant) - Guaranteed by
- RNDr. Nikola Beneš, Ph.D.
Department of Computer Systems and Communications – Faculty of Informatics
Supplier department: Department of Computer Systems and Communications – Faculty of Informatics - Timetable
- Tue 15. 2. to Tue 10. 5. Tue 16:00–17:50 D2
- Timetable of Seminar Groups:
PB161/N06: No timetable has been entered into IS. P. Ročkai
PB161/N08: No timetable has been entered into IS. P. Ondika
PB161/01: Mon 14. 2. to Mon 9. 5. Mon 14:00–15:50 A219, N. Beneš
PB161/02: Thu 17. 2. to Thu 12. 5. Thu 12:00–13:50 A219, F. Bráblík
PB161/03: Mon 14. 2. to Mon 9. 5. Mon 16:00–17:50 A219, J. Juračka
PB161/04: Mon 14. 2. to Mon 9. 5. Mon 10:00–11:50 A219, L. Korenčik
PB161/05: Mon 14. 2. to Mon 9. 5. Mon 12:00–13:50 B130, T. Krchňák
PB161/06: Tue 15. 2. to Tue 10. 5. Tue 8:00–9:50 A219, P. Ročkai
PB161/07: Mon 14. 2. to Mon 9. 5. Mon 8:00–9:50 A219, J. Šárník
PB161/08: Fri 18. 2. to Fri 13. 5. Fri 12:00–13:50 A219, P. Ondika - Prerequisites
- PB071 Principles of low-level prog.
Basic knowledge of programming and algorithmics (to the extent covered by the courses IB111, IB002), low-level programming (PB071), programming language principles and OOP (PB006). Students are also required to have user experience with Unix OS or similar, as homework is submitted and tested on a Unix server. - Course Enrolment Limitations
- The course is also offered to the students of the fields other than those the course is directly associated with.
- fields of study / plans the course is directly associated with
- there are 65 fields of study the course is directly associated with, display
- Course objectives
- The goals of the course are to make the students familiar with the C++ programming language as defined by ISO C++17. The course focuses on the languages's semantics, user-defined data types (classes), work with the standard library. The students shall also get acquainted with various programming paradigms in the language's scope: functional programming, OOP, generic programming and metaprogramming.
- Learning outcomes
- After finishing this course, a student should be able to:
- write C++ programs utilizing the tools of modern C++ as defined by ISO C++17;
- use a significant part of the standard C++ library;
- create user-defined data types (classes) in C++;
- understand the value semantics of C++ and explain the difference between this semantics and other popular languages' semantics;
- understand the principles behind resource management (incl. memory management) in modern C++;
- understand how the principles of object-oriented programming are realised in C++;
- have a basic understanding of generic programming and metaprogramming via templates in C++;
- use exceptions in an efficient and reasonable way;
- follow best practices guidelines for C++ programming. - Syllabus
- Introduction to the semantics of C++, classes, strings, vectors (dynamic arrays).
- Value and reference semantics of C++, closures (anonymous functions, „lambdas“).
- The standard library: algorithms, containers, iterators.
- Function and method overloading, the type system of C++, objects, namespaces, access.
- Input/output in C++, operator overloading.
- Exceptions, resource management (RAII).
- Memory management in modern C++, smart pointers.
- The realisation of object-oriented programming in C++.
- Generic programming with templates.
- Metaprogramming with templates, various useful parts of the standard library.
- The iterator concept in more detail, own iterators' implementation.
- Conclusion, an outlook into the future (C++20).
- Literature
- STROUSTRUP, Bjarne. The C++ programming language. 3rd ed. Reading: Addison-Wesley, 1997, x, 910 s. ISBN 0-201-88954-4. info
- VIRIUS, Miroslav. Programování v C++. 1. vyd. Praha: ČVUT, 1998, 364 s. ISBN 8001018741. info
- VIRIUS, Miroslav. Pasti a propasti jazyka C++ : podrobný průvodce pokročilého uživatele. 1. vyd. Praha: Grada, 1997, 251 s. ISBN 8071696072. info
- VIRIUS, Miroslav. Od C k C++. 1. vyd. České Budějovice: KOPP, 2000, 227 s. ISBN 80-7232-110-2. info
- LOUIS, Dirk, Petr MEJZLÍK and Miroslav VIRIUS. Jazyky C a C++ podle normy ANSI/ISO: kompletní kapesní průvodce. 1. vyd. Praha: Grada Publishing, 1999, 644 s. ISBN 80-7169-631-5. info
- MEYERS, Scott. Effective C++ :50 specific ways to improve your programs and designs. 2nd ed. Reading: Addison-Wesley, 1998, xx, 256 s. ISBN 0-201-92488-9. info
- Bookmarks
- https://is.muni.cz/ln/tag/FI:PB161!
- Teaching methods
- Teaching consists from theoretical lectures combined with the practical exercises and programming homework selected to practice topics from lectures.
- Assessment methods
- Homework assignments during the semester, a programming exam.
- Language of instruction
- Czech
- Follow-Up Courses
- Further Comments
- Study Materials
The course is taught annually. - Listed among pre-requisites of other courses
- IB113 Introduction to Programming and Algorithms
!NOW(IB111) && !IB111 && !PB162 && !PB161 && !PB071 && !IB001 && !program(B-INF) && !program(B-PVA) && !program(B-CS) - PB007 Software Engineering I
PB160 || PB161 || PB162 || PB174 || PV178 || PB112 - PV255 Game Development I
PB009 && PV112 && (PB161 || PB162 || PV178) - PV294 Advanced C++
PB161
- IB113 Introduction to Programming and Algorithms
- Enrolment Statistics (Spring 2022, recent)
- Permalink: https://is.muni.cz/course/fi/spring2022/PB161