Ad-hoc polymorphism, operator overloading and the Orthodox Canonical class form.
Helper
Orthodox Canonical Form:
- Default constructor
- Copy constructor
- Copy assignment operator
- Destructor
Exercices
- My First Class in Orthodox Canonical Form - discover fixed-point numbers
- Towards a more useful fixed-point number class - improve the fixed-point number class
- Now we're talking - discover comparison, arithmetic and increment/decrement operators
- BSP - algorithm to tell if point is inside or outside of a triangle
Ad-hoc polymorphism, operator overloading and the Orthodox Canonical class form.
Helper
Orthodox Canonical Form:
Exercices