Effective C++ programming

The course is not on the list Without time-table
Code Completion Credits Range Language
NI-EPC Z,ZK 5 2P+1C Czech
Department of Computer Systems

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.


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:

Practical training of the lecture material.

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++

Further information:
No time-table has been prepared for this course
The course is a part of the following study plans:
Data valid to 2020-08-09
For updated information see http://bilakniha.cvut.cz/en/predmet6071806.html