How to call a bool function...
- by Gerri
Hello, I did not see anything that address my particular code problem.
I have a bool function in a class; the bool function is named:
bool Triplet::operator ==(const Triplet& operand)const
And I am trying to call it in Main but having problems just getting the call right. Apparently if I leave out any thing in the wording it gives an error that I have too few aruguments and if I try to use the entire wording of the function, I get the error that I need a semi-colon, but I already have a semi-colon at the end of the call, so I know that something else is wrong and I simply cannot figure out what is wrong!
Any help would be appreciated!
Thanks in advance.