Multiple classes in a header file vs. a single header file per class
The term here is translation unit and you really want to (if possible) have one class per translation unit ie, one class implementation per .cpp file, with a corresponding .h file of the same name. It’s usually more efficient (from a compile/link) standpoint to do things this way, especially if you’re doing things like incremental … Read more