An open API service indexing awesome lists of open source software.

https://github.com/sekula34/cppmodules

Small projects for learning concepts of object oriented programming in c++ standard 98
https://github.com/sekula34/cppmodules

abstraction casting containers cpp98 exception-handling inheritance merge-insertion-sort object-oriented-programming operator-overloading polymorphism templates

Last synced: 5 months ago
JSON representation

Small projects for learning concepts of object oriented programming in c++ standard 98

Awesome Lists containing this project

README

          

# CPP modules
In these 9 modules, I wrote simple programs to learn about object-oriented programming in the **C++ 98 Standard**. Each exercise has its own Makefile that compiles the source code into an executable.
## Usage
1. Navigate to the directory of exercise. For example `cd cpp00/ex01`
2. In exercise directory, run `make` to make executable
3. Run executable like: `./phone`

*Note: each exercise will create executable with their own name and some of them require argument(s). In every Makefile there are at least this 4 rules*
- `make` -> create all object files and executable
- `make clean` -> deletes all object files, but **keep executable**
- `make fclean` -> deletes all object files **and executable**
- `make re` -> deletes all object files and executable and then make them again

## Modules
* [cpp00 - simple stuff about c++ part 1/2](./cpp00/README.md)
* [cpp01 - simple stuff about c++ part 2/2](./cpp01/README.md)
* [cpp02 - operator overloading](./cpp02/README.md)
* [cpp03 - inheritance part 1/2](./cpp03/README.md)
* [cpp04 - inheritance part 2/2 and polymorphism](./cpp04/README.md)
* [cpp05 - exceptions](./cpp05/README.md)
* [cpp06 - c++ casts](./cpp06/README.md)
* [cpp07 - templates](./cpp07/README.md)
* [cpp08 - templated containers, iterators](./cpp08/README.md)
* [cpp09 - merge insertion sort, Reverse Polish Notation](./cpp09/README.md)