Hi Guys&Gals,

Just wondering, when using separate compilation, should the class definition and method definition(s) for a derived class be put in separate header and source files from the base class?

Thanks,
Ger.

Recommended Answers

All 2 Replies

That's normally standard practice to do it that way, but small related classes are often put in the same file.

Ok, Thanks Ancient Dragon!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.