|
Lecturer(s)
|
-
Borkovcová Monika, Ing. Ph.D.
-
Řezanina Emil, Ing.
-
Diviš Roman, Ing. Ph.D.
-
Šimerda Karel, Ing.
|
|
Course content
|
Fundamental diferences of language C a C++. Object data types (class, structure, union), components of object types (attributes, methods, static components). Creation and work with static and dynamic allocated objects. Special methods (constructors, destructor), process of creation and deletion of object. Multiple inheritance, properties of intheritance in C++. Polymorfism, virtual and pure virtual methods, interface. Exceptions in C++, basic exceptions in STL library. Namespaces. Basic principles of generic programming, templates. Input-output operations in C++, console, memory and file streams. Basic overview of components of STL library. Focus on using of modern C++ standards (C++11, 14, 17) in MS Visual Studio. Nonexam topics: * Templates specialization, templates with conditional compilation, templates with variable number of arguments. * Operator overloading. * Examples of using of algorithms within STL library.
|
|
Learning activities and teaching methods
|
|
Monologic (reading, lecture, briefing), Dialogic (discussion, interview, brainstorming)
|
|
Learning outcomes
|
The aim of the course is to cope with programming in language C++.
The student is qualified to create simple console aplication. He can develop application components.
|
|
Prerequisites
|
Successful completion of the course Introduction to C language, basic knowledge of object-oriented programming.
|
|
Assessment methods and criteria
|
Oral examination, Written examination
Credit: Compulsory participation in exercises (in the distance case replaced by submission of assigned works by the given deadlines), elaboration of semester work (by the given deadline). Exam: theoretical test + practical assignments (in the distance case it will be replaced by oral examination (full-time or remote form), which will include theoretical questions and practical assignments).
|
|
Recommended literature
|
-
Scott Meyers. Effective Modern C++. 2014. ISBN 9781491903995.
-
Stephen Prata. Mistrovství v C++ 4. aktualizované vydání. 2013. ISBN 8025144267.
|