wow, haven't been here for sometimes due to the business aspect of my course.
would like some help in understanding what is set, get, change and return in c++.
have an assignment with topics the class haven't covered as yet, but I'd love to understand it before we reach those topic, don't want to post the partial codes that i have written so far until i think i'm finish so you ppl can take a look on it and tell me where i am going wrong.
tnx again for your help.
Jump to Post
There is nothing official about set/get/change in c++.
Set/Get or Setter/Getter - The basic premise of a getter/setter is to you give access to a private field within your class, thus allowing a user of that class to alter the state of that fields without knowing about or …
All 5 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.