simi
asked on
Compiling
When you write a program that uses a base class that has derived classes, do you declare the base class and the derived classes separatelly in different .h files, and then do you implement them in different .cpp files, or you declare the base class and the derived ones within one single .h file and implement the base class and the derived ones in one .cpp file ?
Can you chose how to do that also by the size or number of derived classes , or is it a good programming style to go allways one way ?
Can you chose how to do that also by the size or number of derived classes , or is it a good programming style to go allways one way ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER