overload both pre and post increment operator in custom classes

sj13

New member
Joined
Mar 7, 2021
Messages
1
Programming Experience
1-3
hello, I know what ++i and i++ means and how to create one all I want to know is how to overload ++ operator that compiler could understand where to use ++obj or obj++
 
Back
Top Bottom