[Dev-C++] Newbie question Classes/Objects/Accessors????
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <Rus...@ao...> - 2003-05-20 20:30:50
|
I understand the basics of Classes, but what determines which members/functions should be public/private? The Accessor functions (is that the correct terminology?) seem to take a public member of a class and attach some argument/value/data to a private member of the same class. What is the logic behind this? I can understand what is being done, but I don't understand the reasoning. Regards, Russ |