10 Modules to learn the basics of Object Oriented Programming. Coded in C++.
git clone git@github.com:rimarque/CPP-Modules.git
- Namespaces
- Classes
- Member functions
- Stdio streams
- Initialization lists
- Static
- Const
- Memory allocation
- Pointers to members
- References
- Switch statement
- Ad-hoc polymorphism
- Operator overloading
- Orthodox Canonical class form
- Inheritance
- Polymorphism
- Exceptions
- Type casting
Virtual functions and runtime polymorphism
Abstract Class vs Interface Equivalence in C++
Choose the module and the exercise you want to compile, for example:
$ cd ./CPP00/ex00
To compile the program you should run make
.
This rule will generate an executable file. To launch the executable you should follow this syntax:
$ ./executable