Overloading Operators For String
In my post “Overloading Binary Operator” I had showed you that how binary operators such as “+”, “-“,”*” can be overloaded. We had overloaded “+” operator for addition of two objects. WeRead More…
In my post “Overloading Binary Operator” I had showed you that how binary operators such as “+”, “-“,”*” can be overloaded. We had overloaded “+” operator for addition of two objects. WeRead More…
In previous post, I had talked about overloading binary operators using member function as well as friend function. We know that insertion (<<) and extraction (>>) are operators in C++ and justRead More…