•The
relationship between C++ class definitions and files depends
on the compiler.
•In
general you can put class definitions anywhere! Visual C++ wants
one class per file.
•Most
people do this:
–class
definition is in classname.h
–any
methods defined outside of the class definition are in classname.cpp