increase value of a data member?

Is it possible to do this with structs without making a new data member.
For example, lets say one data member in my struct is grades and I want to bump the grade up from 90 to a 91. Do I have to make a new data member to do that?
No. Just increment it:

 
myobject.grades++;  // increment the 'grades' member of your 'myobject' object 
thanks
Topic archived. No new replies allowed.