understand Class definition

This is a discussion on understand Class definition within the C++ Programming forums, part of the General Programming Boards category; Hi,
I want to understand the difference between class and object in C ++. I have read some material but ...

I know this seems like a silly example, but I was always taught to think of the
variables in private as members, and put a m_ before the name to make it a member.
And put the methods ( if they are really called that ) under the constructor in the class.
After that. I had to create the constructor then complete the method functions. It was the way I was taught and has always worked for me this way. But I guess different people have different styles of the way they lay out the classes...

lol ok Sly, good point it is just a point of habit i guess, I have always used this way of doing classes, as it helps me to know they are members of a class. But as you said, the m_ is not essential. I do apoligise for leading him on the wrong track, like I said, I was taught this way and have always considered it to be good practice