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
- Host: GitHub
- URL: https://github.com/sekula34/cppmodules
- Owner: Sekula34
- Created: 2024-02-29T16:21:22.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-17T10:18:26.000Z (about 1 year ago)
- Last Synced: 2025-08-21T02:47:33.760Z (6 months ago)
- Topics: abstraction, casting, containers, cpp98, exception-handling, inheritance, merge-insertion-sort, object-oriented-programming, operator-overloading, polymorphism, templates
- Language: C++
- Homepage:
- Size: 535 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)