I'm writing a calculator program for complex numbers and I am getting an error during compiling that says
In member function 'Complex Complex::operator*(const Complex&)':
error: no match for 'operator*' (operand types are 'int' and 'const Imaginary')
iparts = (real * rhs.imagine) + (imagine * rhs.real);
^
What does this mean?