General Coding Practice
Is it best to have 1 .cpp/.h combo per class? Or only if the classes are long? What is best?
Cheers!
I try to have only one class per .h/.cpp but sometimes I'll put several related interfaces into a single file.
In the long run it makes no difference. Do what makes you feel comfortable and what you feel you'd like to work with.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement