Computer sciende c++ code examples of main concepts & topics.
To launch a main just run a bash script:
./run.shTo run a code example from available content just use utils namespace choosing a necessary function to call in main, for instance: utils::useBinarySearch(), or utils::useSorting(), etc. There's a bunch of code examples listed below; functions with the examples are also present in the utils header file.
The repo contains implementation of two data containers (lists):
The sorting namescape contains a few implementations of well-known sorting algorithms, which are:
The classes dir contains different cases of using classes and thier instances (objects):
- abstract;
- dynamic classes;
- diamond problem;
- inherinace;
- inner local classes;
- multiple inheritance;
- operators overloading;
The patternsUsage dir contains some object-oriented patterns implementation and usecase examples: