The C++ Programming Language
ICP Acad. year 2010/2011 Summer semester 4 credits
ISO C++ language overview. Objects, classes, inheritance, polymorphism. Operator and function overloading. Templates. Exceptions. Standard library, STL.
Language of instruction
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.
The goal is to introduce students to object-oriented programming in C++ language and to generic programming using templates.
- Eckel, B.: Thinking in C++, 2nd edition, Prentice-Hall, 2000 [available online on WWW]
- ISO: Programming Language C++, WG21/N1043 Draft Proposed International Standard, 1996 [available online on WWW]
- Teaching materials available on WWW.
- Stroustrup, B.: The C++ programming language, third edition, Addison-Wesley, 1997
- Stroustrup, B.: The C++ programming language, special edition, Addison-Wesley, 2000
- Eckel, B.: Thinking in C++, 2nd edition, Prentice-Hall, 2000
- Booch, G.: Object-Oriented Design with applications, 2nd edition, The Benjamin/Cummings Publishing Company 1994
- ISO: Programming languages - C++, International Standard ISO/IEC 14882, 1988
- British Standards Institute: The C++ Standard: Incorporating Technical Corrigendum No. 1, Willey, 2003, ISBN: 978-0-470-84674-2
- ISO: Programming Language C++, WG21/N1043 Draft Proposed International Standard, 1996
Syllabus of lectures
- Introduction. Basic overview of ISO C++. Examples of C++ use.
- The 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). Output formating, 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 template library, algorithms, iterators, containers, function objects.
- Exceptions, exception specifications.
- Standard library overview. Pointers to class members. Effective C++ programming.
Syllabus - others, projects and individual work of students
At least 50% of the points you can get during the semester
Course inclusion in study plans