next up previous
Next: Simple Classes: mycomplex0.h

In this exercise we lay the ground work for extending the code for finding roots of polynmials so we can treat complex roots as well as real roots. We introduce the C++ concepts of classes and operator overloading. These powerful tools allow us to build complex numbers and do arithmetic with them using standard algebraic notation.





Carleton DeTar 2017-02-13