General Coding Practice

Started by
2 comments, last by _Sigma 18 years, 6 months ago
Is it best to have 1 .cpp/.h combo per class? Or only if the classes are long? What is best? Cheers!
Advertisement
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.
alright, thats good to hear. Thanks guys. Cheers!

This topic is closed to new replies.

Advertisement