how to make a operator overload of postfix using operator function?
Classname& operator++();//prefix
Classname operator++(int);//postfix
For more you can refer this :
http://stackoverflow.com/questions/7740350/overloading-postfix-and-prefix-operators
If still you are facing any problem, can reply here…
but both does same work…
isn’t it???