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.
nova2177
0
Newbie Poster
Recommended Answers
Jump to Postnova2177,
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 …
Jump to PostNo special name for it -- its name can be almost anything. All it would do is change the value of a variable from one value to something else. And you can code a change method any way you want, or not at all. I normally do not include a …
All 5 Replies
kvprajapati
1,826
Posting Genius
Team Colleague
nova2177
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
nova2177
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.