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
Course coordinators
Mode
Prerequisites (description)
Bibliography
B. Stroustrup, The C++ Programming Language (Addison-Wesley, 2013).