February 4th, 2014, 05:19 PM
operator overloading (prefix ++)
I am writing the overloading operator function (prefix ++) according to my book.. but it doesnt work !!!!!!
But if i write:
it works !!!!!
Is the book wrong???
Here is my code according to the book that doesnt work as it should:
using namespace std;
thing& operator ++() //******** here *******
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.