Original Post
Hey, im quiet confused with this, basically i understand it is to allow say two user definend types to have workable operators, ie Having a class called Day. And creating an instance ie Day Today; Day Tomorow; Operator overloading would allow Today + Tomorow; is this correct? From what i understand i would have to do the defenition of the operator overloading in the class defenition. Day::operator++{ //increment member variables or whatever in here; return *this; } if that above is correct, i see it would work with Tody++; But how and what would i need to enable Today+Tomorow ?