Course detail
The C++ Programming Language
FIT-ICPAcad. year: 2023/2024
ISO C++ language overview. Objects, classes, inheritance, polymorphism. Operator and function overloading. Templates. Exceptions. Standard library, STL.
Language of instruction
Czech
Number of ECTS credits
4
Mode of study
Not applicable.
Guarantor
Department
Entry knowledge
Not applicable.
Rules for evaluation and completion of the course
At least 50% of points.
Aims
The goal is to introduce students to object-oriented programming in C++ language and to generic
programming using templates.
Students are able to exploit C++ for creating middle-sized applications based on the object-oriented approach and generic programming concepts.
Students are able to exploit C++ for creating middle-sized applications based on the object-oriented approach and generic programming concepts.
Study aids
Not applicable.
Prerequisites and corequisites
- recommended prerequisite
The C Programming Language
Basic literature
ISO: Working Draft, Standard for Programming Language C++ (N4950). 2023-05-10 (EN)
Stroustrup, B.: Programming Principles and Practice Using C++, 2nd edition, Addison-Wesley, 2014 (EN)
Stroustrup, B.: The C++ programming language, 4th edition, Addison-Wesley, 2014 (EN)
Stroustrup, B.: Programming Principles and Practice Using C++, 2nd edition, Addison-Wesley, 2014 (EN)
Stroustrup, B.: The C++ programming language, 4th edition, Addison-Wesley, 2014 (EN)
Recommended reading
ISO: Working Draft, Standard for Programming Language C++ (N4950). 2023-05-10 [dostupné elektronicky na WWW]
Stroustrup, B.: The C++ programming language, 4th edition, Addison-Wesley, 2014
Teaching materials available on WWW. (EN)
Stroustrup, B.: The C++ programming language, 4th edition, Addison-Wesley, 2014
Teaching materials available on WWW. (EN)
Elearning
eLearning: currently opened course
Classification of course in study plans
Type of course unit
Seminar
26 hod., optionally
Teacher / Lecturer
Syllabus
- Introduction. Basic overview of ISO C++. Examples of C++ use.
- Basic differences of C and C++. Declarations, definitions, namespaces. Types.
- Statements and operators of C++. The terminology and principles of object-oriented programming in C++.
- Objects, classes, class members. Member access control. Member functions, "this" keyword, static members.
- Object creation and destruction: constructors, destructors, operators new and delete.
- Function and operator overloading. Type conversion operators.
- Input/output (iostream, fstream). Output formatting, file streams and string streams.
- Inheritance, base and derived classes. Multiple inheritance, virtual base classes.
- Polymorphism, virtual methods, abstract classes. Runtime type information.
- Templates, (partial) specialization.
- Standard library, algorithms, iterators, containers, function objects.Modules.
- Exceptions, exception specifications.
- Library overview. Effective C++ programming.
Elearning
eLearning: currently opened course