C++ Headers/Source Files
- by incrediman
(Duplicate of C++ Code in Header Files)
What is the standard way to split up C++ classes between header and source files?
Am I supposed to put everything in the header file? Or should I declare the classes in the header file and define them in a .cpp file (source file)?
Sorry if I'm shaky on the terminology here (declare, define, etc).
So what's the standard?