Question: what is the difference between .h and .cpp files?
Answer: . h files, or header files, are used to list the publicly accessible instance variables and and methods in the class declaration. .cpp files, or implementation files, are used to actually implement those methods and use those instance variables. The reason they are separate is because .