:-)
Printable View
:-)
To protect the integrity of your class and to relieve users of the class of the burden of needing to know the implementation details.
This question has been answered at length here many times....
Why dont you just do a search, instead of asking volunteers to do it for you???? :confused: :confused:
If you read some posts and dont understand the reasons, then by all means ask specific questions..... :wave: :wave:
A better question: Why *not*?
I'm searching answers too...
that's why i posted my question here so that somebody could help in searching while I'm searching too... it is easier right?....there is somebody helping you to do the task....working together.....
why data member should keep private?
data member under class under C++.....should make it private........why......
clear...what dya think?....
Oh snap!Quote:
Originally Posted by richard_tominez
Thanks for your help!
Topic Solved