Realization of smart pointers, which has bounds checking feature Smart pointers
Alexandrescu's functors
HashMap data structure, which has string as key and templated type as value
template <class ValType> class HashMap Map<string,int> map; map.put(Pair<string,int>("one",1));map.get("one");
Program that simulates storehouse work. Abstract class
Goods
provide a common interface forFood
andClothes
classes. You can add and remove things, tore will check for date of issue and remove bad things automatically. We use here NVI and Singleton design pattern.
Program that built Convex Set on
Polygon
, by addingPoint
to it. Program automatically count perimeter and area of this convex set.
Program that shows the features of mutable parameter in the class. It shows matrices and you can change the element of these matrices.
It is a program that allow you to work with both type of strings: c-string and stl-string. You can copy, concatenate, compare c and stl strings together.
Program that shows work with
Time
andDate
in C++
Binary tree structure