hello everyone,
I have been working for my Data structures class for a week now and have been attempting to understand this whole complex numbers concept. My textbook has very little description on the operations for complex numbers, so I was hoping someone here would be better able to explain it to me. I am trying to write the code to overload the - symbol for a complex number for my complex class. I was struggling mostly with understanding how does one negate a complex number. Heres the basic outline for the code I have come up with. Any and all help would really be appreciated.

heres the definition within the class.

complex operator- () const;
//negation of a complex number



and my function implementation would be...

complex::complex operator-() const
{

}