c++ operator overloading – program crashes
I haven’t programmed in c++ for a while, and I was never a very good programmer to begin with. I’m trying to overload a ‘+’ operator for a class ‘MyVector’ that I am writing. Here’s the text for the header file “MyVector.h”: