Problems overloading the addition(+) operator

Pls i'v problems overloading the addition(+) & subtraction(-) operators as i did the multiplication & division operators by declaring them as friend functions within my class definition.
It's actually a matrix class. I'm using visual studio 6.0. Also after compiling, the error window does not show any comprehensive detail on the error. I'll be grateful for your help.
Post the code please. Post the declaration and defintion of your class along with a simple main that tries to instantiate and use the class. Without that I can't understand what the problem might be.

Also, read this.
http://cplusplus.com/forum/beginner/1/
Last edited on
Topic archived. No new replies allowed.