Well, my OOP teacher decided to assign a project to overload operators in c++. This isnt really an issue, what IS an issue is that the school teaches java, so now I get stuck with an assignment to do something in c++ with absolutely NO introduction on how to do. She prints out the worst piece of shit example from a book. I know programming I level c++, but I'm missing three semesters worth of c++ knowledge.
So to the point, does anyone know of a very good online tutorial on how to overload operators? I would buy a book since c++ would be something I would need to know eventually, but(as made proof by recent threads), I'm strapped for cash.
BTW....if anyone has anything related to overloading operators to work on sets....you'll get the biggest cookie evar!!!
So to the point, does anyone know of a very good online tutorial on how to overload operators? I would buy a book since c++ would be something I would need to know eventually, but(as made proof by recent threads), I'm strapped for cash.
BTW....if anyone has anything related to overloading operators to work on sets....you'll get the biggest cookie evar!!!
perator+(MyClass &A)