Effective C++ programming
Code | Completion | Credits | Range | Language |
---|---|---|---|---|
NIE-EPC | Z,ZK | 5 | 2P+1C | English |
- Course guarantor:
- Daniel Langr
- Lecturer:
- Daniel Langr
- Tutor:
- Daniel Langr
- 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, observable behavior, translation units, undefined behavior
2. C++ object model - basics
3. C++ object model - continued
4. C++ object model - examples
5. Expressions, references, content of objects
6. Content copying and moving
7. Exceptions and safety, RAII
8. Templates - basics
9. Templates - variadic templates, perfect forwarding, emplace semantics
10. Template - pros/cons, SFINAE, concepts and constraints
11. Type erasure, CRTP, empty base optimization, ADL
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:
-
Josuttis, The C++ Standard Library-A Tutorial and Reference
Meyers, Effective Modern C++
Reddy, API Design for C++
Stroustrup, Programming - Principles and Practice Using C++
Stroustrup, The C++ Programming Language
Vandervoorde and Josuttis, C++ Templates - The Complete Guide
cppreference.com (C++ reference)
stackoverflow.com (developer forum)
isocpp.org (news, status, blogs, FAQs, discussion)
ISO/IEC 14882:2014 Information technology - Programming languages-C++
- Note:
- Further information:
- https://courses.fit.cvut.cz/NIE-EPC/
- Time-table for winter semester 2024/2025:
-
06:00–08:0008:00–10:0010:00–12:0012:00–14:0014:00–16:0016:00–18:0018:00–20:0020:00–22:0022:00–24:00
Mon Tue Wed Thu Fri - Time-table for summer semester 2024/2025:
- Time-table is not available yet
- 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)