create a class called Complex for perfoeming arithmetic with complex numbers. complex numbers have the form: RealPart + imaginaryPart +1
where 1 is sqrt of (-1)
create a class called Complex for perfoeming arithmetic with complex numbers. complex numbers have the form: RealPart + imaginaryPart +1
where 1 is sqrt of (-1)
What have you tried?
(By the way, if you did not have to create the class yourself, you would likely just #include <complex> and use std::complex.)
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)