Course detail
Practical Programming in C++
FEKT-KPPCAcad. year: 2017/2018
Basic aim of this course is learning C++ basics like C extension (C basics are learned in BPC2A course).
The C++ extensions are: non object C++ features, Basic object features, standard libraries. There are also learned object programming concepts and tools for C++ programming.
Language of instruction
Number of ECTS credits
Mode of study
Guarantor
Learning outcomes of the course unit
- to read object oriented program,
- to write object oriented C++ programm with inheritance, polymorphism,
- to use streams for input and output,
- to make basic template design.
Prerequisites
Co-requisites
Planned learning activities and teaching methods
Assesment methods and criteria linked to learning outcomes
Written exams ut to 70pts (keywords, simple programs, class implementation)
The points (up to 100pts) and requirements for completion of a course are specified by a regulation issued by the lecturer responsible for the course and updated for every.
Course curriculum
2. comparing C and C++, objects
3. references, this
4. overloading, implicit parameters
5. constructors and destructors
6. operators
7. inline metods
8. streams
9. ingeritance
10. multiple inheritance
11. virtual methods
12. abstract classes
13. exceptions, templates
Content of seminars: practical exercises based on lecture topics.
Work placements
Aims
Specification of controlled education, way of implementation and compensation for absences
Recommended optional programme components
Prerequisites and corequisites
Basic literature
Herout, P: ABC programátora v C a C++, KOPP 1998, ISBN 80-901051-2-2 (CS)
Prata, S.: C++ Primer Plus, Indianapolis, SAMS, 2005, ISBN 0-672-32697-3 (EN)
Stroustrup B.:The C++ Programming Language, Addison-Wesley,1997 (CS)
Virius, M.: Jazyky C a C++, Grada Publishing 2006, ISBN 80-247-1494-9 (CS)
Recommended reading
Classification of course in study plans
Type of course unit
Lecture
Teacher / Lecturer
Syllabus
main differences between C and C++
references, new operators and types, overloading
object programming
classes, data members and methods, constructors and destructors
inputs and outputs in C++, streams, operators
inheritance - simple and multiple,
templates, memory management, exceptions
polymorphism, virtual functions, abstract base classes
standard template library, namespaces
techniques and features of oo programming
GUI, SW for creation of application, application design
API functions,
Exercise in computer lab
Teacher / Lecturer
Syllabus