my class has no suitable copy constructor – depending if the argument of the constructor is const or not – Ubuntu
Question: I am learning c++, and i created a class to represent complex numbers. I created a copy constructor with the format complex(const complex &c); and the program worked fine. Then, i removed the const (so it became: complex( complex…