Lecturer(s)
|
-
Janků Peter, Ing. Ph.D.
-
Bližňák Michal, Ing. Ph.D.
|
Course content
|
1) Basic structure of ANSI C source code, source modules, compilers and linkers, debuggers, profilers, source code preprocesing. Integrated Development Environment (IDE). 2) Basic ANSI C data types. Variables. 3) Program flow control. Decisions, loops, jumps. 4) Functions and methods. 5) Extended data types. Enumerations, structures, unions, arrays, bite arrays. 6) Memory management. Pointers, pointers arithmetics, dynamic memory allocation, pointers to functions. 7) ANSI C/C++ standard library. I/O operations, file operations, working with strings. 8) Basic characteristics of C++ programming language. Classes and their attributes. Memory management in C++. 9) Inheritance, virtual and abstract methods, overriden methods and operators. 10) Method and class templates. Lambda functions. 11) Standard template librarty STL. I/O operations, strings, data containers. 12) Standard template librarty STL. Automatic memory management.
|
Learning activities and teaching methods
|
Lecturing, Exercises on PC
- Participation in classes
- 56 hours per semester
- Preparation for course credit
- 14 hours per semester
- Home preparation for classes
- 14 hours per semester
- Preparation for examination
- 28 hours per semester
|
prerequisite |
---|
Knowledge |
---|
- Ability of simple problems and tasks algoritmization. - Basic knowledge of programming techniques. |
- Ability of simple problems and tasks algoritmization. - Basic knowledge of programming techniques. |
learning outcomes |
---|
describe the basic structure of the application developed by C++ language |
describe the basic structure of the application developed by C++ language |
define the term object-oriented programming |
define the term object-oriented programming |
describe the basic structure of a class in C++ |
describe the basic structure of a class in C++ |
define the term standard of the C++ language and list the existing standards |
define the term standard of the C++ language and list the existing standards |
explain the usage of templated classes and template functions in the C++ language |
explain the usage of templated classes and template functions in the C++ language |
Skills |
---|
create a simple class in C++ |
create a simple class in C++ |
build an executable application that communicates by using command line in C++ |
build an executable application that communicates by using command line in C++ |
use inheritance when creating classes in C++ |
use inheritance when creating classes in C++ |
create a template class in C++ |
create a template class in C++ |
design a class structure when developing an application by using the C++ language |
design a class structure when developing an application by using the C++ language |
teaching methods |
---|
Knowledge |
---|
Exercises on PC |
Lecturing |
Lecturing |
Exercises on PC |
assessment methods |
---|
Composite examination (Written part + oral part) |
Composite examination (Written part + oral part) |
Recommended literature
|
-
Kernighan, Brian W. Programovací jazyk C : [ANSI C99]. Vyd. 1. Brno : Computer Press, 2006. ISBN 80-251-0897-X.
-
LIBERTY, Jesse. Naučte se C++ za 21 dní. Brno : Computer Press, 2007. ISBN 978-80-251-1583-1.
-
Prata, Stephen. Mistrovství v C++. 3., aktualiz. vyd. Brno : Computer Press, 2007. ISBN 978-80-251-1749-1.
|