Original Post
I''m new to classes, and I have a quick question.
When would you not make a class variable public? What''s the point if you have to access it from another function?
Also, if I want to use a class variable, but have its scope only in one function, would I simply declare that instance of it in that function, or do something with making it private, and using pointers or something?