Just tell me the general idea, I need to clarify and understand it without extra details.
In a class you usually create variables and functions. And tutorials say you should make your class variables private and set/get their values using class member functions. When is it ok to access class variables directly?