I wonder if you could give me some examples on how a well designed class should look like. I have try to use classes now when programming in C++, but I never seem to get the hang of it.
I will write a name for a class, and create some variables for it, and maybe someone can tell me how you should go about accessing them (Sorry if I don´t use the correct words all the time when im writing, but im Swedish, so you´ll have to excuse me on that)
Ok now here it is:
// what methods should you use here?
I would use set and get functions to access these variables, but I think that it can get kinda annoying if you have a whole lot of variables to access. How would you do this?