Modern programming in C ++
Code | Completion | Credits | Range |
---|---|---|---|
MI-MPC | Z,ZK | 5 | 2P+1C |
- Course guarantor:
- Lecturer:
- Tutor:
- Supervisor:
- Department of Software Engineering
- 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:
-
Basics of C and C++ programming (at the level of BIE-PA1 and BIE-PA2 courses).
- Syllabus of lectures:
-
1. Introduction, small string optimization
2. Copy vs move of object contents
3. Effective forms of special member functions
4. Dynamic memory allocation, dynamic object construction
5. Perfect forwarding, variadic templates
6. Copy elision, initialization
7. Type deduction
8. Template specialization and template metaprogramming
9. Assertion, dispatching, lambda functions
10. Automatic releasing of resources, smart pointers, type erasure
11. Multi-threaded programming
12. Policies, empty base optimization, enumerations
- 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++
Prata, C++ Primer Plus
Reddy, API Design for C++
Stroustrup, Programming - Principles and Practice Using C++
Stroustrup, The C++ Programming Language
Sutter and Alexandrescu, C++ Coding Standards: 101 Rules, Guidelines, and Best Practices
Vandervoorde and Josuttis, C++ Templates - The Complete Guide
Williams, C++ Concurrency in Action
cppreference.com, www.cplusplus.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/MI-MPC/
- No time-table has been prepared for this course
- The course is a part of the following study plans:
-
- Master specialization Computer Science, in Czech, 2018-2019 (elective course)