Name: Anonymous 2011-10-05 16:54
So I'm new to c++ and operator overloading. I have the following:
myClass operator*(const myClass &left, const myClass &right)
{
}
But it gives me the error: "... must take either zero or one argument."
What's wrong?
myClass operator*(const myClass &left, const myClass &right)
{
}
But it gives me the error: "... must take either zero or one argument."
What's wrong?