hi
i was just readin the article:
http://www.cprogramming.com/tutorial/lesson12.html
but something i dont understand about classes is,
why set the data members private and then use set and get functions to read/set these variables?
why not just set them public?
surely it would save on writing alot of code?
im so confused
Kane