Tasks of NSU OOP special course. C++.