Pregunta de entrevista de Power Resources International

How do you define a class in C++? What is the difference between a function and a method?