Skip to main content
Skip header
Terminated in academic year 2020/2021

Programming in C/C++

Type of study MasterFollow-up Master
Language of instruction Czech
Code 460-8701/01
Abbreviation CPP
Course title Programming in C/C++
Credits 4
Coordinating department Department of Computer Science
Course coordinator doc. Mgr. Jiří Dvorský, Ph.D.

Subject syllabus

Lectures:
The algorithm , the means for algorithm notation
Introduction to C, input and output, how the processor code is created. Source code, object code, linking, compilation.
Data types, operators, expressions, constants.
Operators - arithmetical, assignment, relational, logical, conditionl expression, type conversion
Statements and blocks. Comma operator. Break and continue statements. Register variables.
Loop statements for and do-while. Simple program. Arrays.
Functions. Automatic and external variables. Recursive functions
Pointers, arrays, functions.
Pointers and addresses, pointers and function arguments. Pointers and arrays. Pointers and constants.

Command line arguments. Initialization of arrays and arrays of pointers.
Standard C library functions. Making library functions in Code Warrior environment.
Structures, classes, unions, bit arrays, structures and classes, Array of structures, union type, anonymous type union and bit array.
Object oriented programming. Classes and objects in C++. Access modifiers. Inheritance.
Polymorphism in C++, early and late binding. Overloading. Templates.

Literature

ECKEL. Bruce. Thinking in C++. Prentice Hall
Stroustrup, B.: The programming language C++
SCHILDT. Herbert. Teach yourself. Osborne

Advised literature

ECKEL. Bruce. Thinking in C++. Prentice Hall
Stroustrup, B.: The programming language C++
SCHILDT. Herbert. Teach yourself. Osborne