Programming 1100-1F23
Main topics:
1. Introduction
a) C++ vs Python and other programming languages
b) Algorithms, source code as a representation of an algorithm
c) Source code and program, compilation and execution of a program
d) How to create environment to program in C++
e) Representing numbers and characters in the computer
2. The C++ language basics
a) The simplest program, the structure of a program
b) Standard input and output streams
c) Variables, operators and expressions
d) Conditional statement and loops
e) Functions
f) Selected elements of syntax from new versions of C++ language
3. Simple arrays and STL containers
a) One dimensional arrays and their applications
b) Pointers
c) Arguments of the main function
d) Dynamic memory allocation
e) Main STL containers, applications of vector container
4. Classes
a) Constructors, private and public methods
b) Functions get and set, friends
c) Overloaded operators
d) Class string
5. Streams
a) More about standard input and output strings
b) Working with files
c) istringstream,ostringstream
Lecture only:
- basics of C++ exceptions
- inheritance, virtual functions, polymorphism
- make/makefiles (optional)
Main fields of studies for MISMaP
Mode
Prerequisites (description)
Course coordinators
Bibliography
B. Stroustrup, The C++ Programming Language (Addison-Wesley, 2013).
Additional information
Information on level of this course, year of study and semester when the course unit is delivered, types and amount of class hours - can be found in course structure diagrams of apropriate study programmes. This course is related to the following study programmes:
Additional information (registration calendar, class conductors, localization and schedules of classes), might be available in the USOSweb system: