Programming C++
Erasmus
Remote lectures
------------------------------------------------------------------------------------
Greetings!
All classes, both lectures and labs, will take place on the Microsoft Teams platform.
Team name is: Programming C++. Team code is: akynm71
All labs, as well as examples for lectures, require
IDE Microsoft Visual Studio 2019 Community Edition.
Please, install this IDE on your computers. During installation you must
select C/C++ platform.
------------------------------------------------------------------------------------
------------------------------------------------------------------------------------
Assessment criteria:
1. Assessment of project.
2. Assessment of final test.
------------------------------------------------------------------------------------
Current information
------------------------------------------------------------------------------------
project completion date - 05/05/2021
estimated control test date - 05/19/2021
------------------------------------------------------------------------------------
To view * .pdf files, you need to right-click on the selected file
Lectures:
- W1 (WW1.pdf)
- W2 (WW2.pdf)
- W3 (WW3.pdf)
- W4 (WW4.pdf)
- W5 (WW5.pdf)
- W6 (WW6.pdf)
- W7 (WW7.pdf)
- W8 (WW8.pdf)
- W9 (WW9.pdf)
- W10 (WW10.pdf)
Examples for lectures:
- W1 example of simple class (przykl\W1.zip)
- W2 example of simple inheritance (przykl\W2.zip)
- W3 example of simple O/I (przykl\W3.zip)
- W4 private and protected members of class (przykl\W4.zip)
- W5 stack maintenance (przykl\W5.zip)
- W6 function overloading (przykl\W6.zip)
- W7 constructors and destructors (przykl\W7.zip)
- W8 timer (przykl\W8.zip)
- W9 copy constructor, passing of object to function (przykl\W9.zip)
- W10 copy constructor, function returns the class object (przykl\W10.zip)
- W11 inheritance, calls to constructors, destructors (przykl\W11.zip)
- W12 example of union (przykl\W12.zip)
- W13 overload of the = operator (przykl\W13.zip)
- W14 function returns the object of the class, calls of constructors and destructor (przykl\W14.zip)
- W15 friend functions (przykl\W15.zip)
- AllocNew operators new, delete (przykl\AllocNew.zip)
- W16 passing an argument to function by pointer and by reference. (przykl\W16.zip)
- W17 function returns a reference. (przykl\W17.zip)
- resource WINDOWS application. (przykl\resource.zip)
- CallByPtr call to function by pointer. (przykl\CallByPtr.zip)
- MultThread call to function by pointer. Multithreading. Critical sections. (przykl\MultThread.zip)
- W18 overload of the binary operators +, -, * / (przykl\W18.zip)
- W19 overload of relational and logical operators (przykl\W19.zip)
- W20 overload of [ ] operator. Safe array. (przykl\W20.zip)
- W21 generic functions. (przykl\W21.zip)
- W22 template function Find. Different search criteria. (przykl\W22.zip)
- W23 template class my_vect. (przykl\W23.zip)
- W24 template class my_class with two generic types. (przykl\W24.zip)
- W25 I / O formatting. (ios class members and flags) (przykl\W25.zip)
- W26 I / O Manipulators. (przykl\W26.zip)
- W27 Opening file procedure using the call to constructor of class. (przykl\W27.zip)
- W28 Byte-by-byte I / O. Binary files. (przykl\W28.zip)
- IO_1 Check state of stream using ios_base::iostate flags. (przykl\IO_1.zip)
- W29 I / O one file - two streams. (przykl\W29.zip)
- W30 Exceptions. (przykl\W30.zip)
- W31 Exceptions of the different types. (przykl\W31.zip)
- W32 Available size of a memory buffer. Re-throwing an exception (przykl\W32.zip)
- W33 Static class-member variable. (przykl\W33.zip)
- W34 Dynamic polimorphism, virtual functions. (przykl\W34.zip)
- W35 Dynamic polimorphism, virtual destructor. (przykl\W35.zip)
- W36 Dynamic polimorphism, using the pointer as well as reference to the base class. (przykl\W36.zip)
- W37 Inheritance: call constructrs and destructors. (przykl\W37.zip)
- W38 Multi-inheritance 1. (przykl\W38.zip)
- W39 Multi-inheritance 2. (przykl\W39.zip)
- W40 Ambiguity arising due to multiple inheritances, and virtual classes. (przykl\W40.zip)
- W41 Overloading of operators. Inheritance of operators, overloaded in the base class. (przykl\W41.zip)
- W42 RTTI: type_id is used in template class. (przykl\W42.zip)
- W43 RTTI - dynamic_cast<> () and typeid() operators. (przykl\W43.zip)
- W44 Introduction in STL: containers and iterators. (przykl\W44.zip)
- W45 Introduction in STL: algorithms. (przykl\W45.zip)
Labs:
Project:
Samples of tests: