Course details

The C++ Programming Language

ICP Acad. year 2004/2005 Summer semester 4 credits

Current academic year

ISO C++ language overview. Objects, classes, inheritance, polymorphism. Operator and function overloading. Templates. Exceptions. Standard library, STL.

Guarantor

Language of instruction

Czech, English

Completion

Credit

Time span

  • 26 hrs exercises
  • 13 hrs projects

Department

Subject specific learning outcomes and competences

Students are able to exploit C++ for creating middle-sized applications based on the object-oriented approach and generic programming concepts.

Student will learn programming in C++.

Learning objectives

The goal is to introduce students to object-oriented programming in C++ language and to generic programming using templates.

Recommended prerequisites

Prerequisite knowledge and skills

There are no prerequisites

Fundamental literature

  • Stroustrup, B.: The C++ programming language, 4th edition, Addison-Wesley, 2014

Syllabus of seminars

  1. Introduction. Basic overview of ISO C++. Examples of C++ use.
  2. The differences of C and C++. Declarations, definitions, namespaces. Types.
  3. Statements and operators of C++. The terminology and principles of object-oriented programming in C++.
  4. Objects, classes, class members. Member access control. Member functions, this keyword, static members.
  5. Object creation and destruction: constructors, destructors, operators new and delete.
  6. Function and operator overloading. Type conversion operators.
  7. Input/output (iostream). Output formating, file streams and string streams.
  8. Inheritance, base and derived classes. Multiple inheritance, virtual base classes.
  9. Polymorphism, virtual methods, abstract classes. Runtime type information.
  10. Templates, (partial) specialization.
  11. Standard template library, algorithms, iterators, containers, function objects.
  12. Exceptions, exception specifications.
  13. Standard library overview. Pointers to class members. Effective C++ programming.

Progress assessment

At least half of the maximal number of points

Controlled instruction

There are no checked study.

Back to top