Class Vs Function
I'm learning c++, and I've learned about classes, but the thing that's bugging me is I'm sure I don't understand them (otherwise I wouldn't need to to ask this question) So can someone please tell me what the advantage of using a class over a function is 

