I've been looking over classes, but I just can't understand a few things.
1) Why would you make variable private and use functions to set and read them? Whats the benefit?
2) Since I don't know what the benefit of making variables private, whats the point of using a class versus a struct?
Any help would be appreciated.