Effective C++ programming
Code | Completion | Credits | Range | Language |
---|---|---|---|---|
NIE-EPC | Z,ZK | 5 | 2P+1C | English |
- Course guarantor:
- Lecturer:
- Tutor:
- Supervisor:
- Department of Computer Systems
- Synopsis:
-
Students learn how to use the modern features of contemporary versions of the C++ programming language for software development. The course focuses on programming effectivity and efficiency in the form of writing maintainable and portable source code and creating correct programs with low memory and processor time requirements.
- Requirements:
-
Very good knowledge of the topics of the BIE-PA1 and BIE-PA2 courses, some knowledge of the topics of the BIE-SAP and BIE-OSY courses. Knowledge of BI-PA2 „extra material“ is recommended.
- Syllabus of lectures:
-
1. Introduction, C++ standards and implementations
2. Observable behavior, translation units, undefined behavior
3. C++ object model - basics
4. C++ object model - continued
5. C++ object model - examples
6. Expressions, references, content of objects
7. Content copying and moving
8. Templates - basics
9. Templates - variadic templates, perfect forwarding, emplace semantics
10. Template - SFINAE, concepts and constraints, type erasure, CRTP
11. Exceptions and safety, RAII
12. Performance and efficiency
13. Short string optimization
- Syllabus of tutorials:
-
Students solve problems related to lectures; the instructor provides consultations and advice.
- Study Objective:
-
The goal of the course is to learn students how to use contemporary versions of C++ programming language such that they would be able to create efficient, correct, maintainable, and portable software.
- Study materials:
-
C++ reference (cppreference.com)
C++ standards (drafts)
Stack Overflow
CppCon lectures
C++ Core Guidelines
- Note:
- Further information:
- https://courses.fit.cvut.cz/NIE-EPC/
- No time-table has been prepared for this course
- The course is a part of the following study plans:
-
- Master specialization Software Engineering, in English, 2021 (elective course)
- Master specialization Computer Security, in English, 2021 (elective course)
- Master specialization Computer Systems and Networks, in English, 2021 (PS)
- Master specialization Design and Programming of Embedded Systems, in English, 2021 (elective course)
- Master specialization Computer Science, in English, 2021 (VO)
- Master specialization Computer Science, in English, 2024 (VO)
- Teaching Informatics for Secondary Schools (compulsory elective course)