However, there are 2 exceptions to this, where you will need to include another header file in the header file:
- When you are inheriting from another class, you will need the header class for that class in the header file
- When you are using a class as a stack variable rather than dynamically allocated heap variable, you will also need the header file for that class in the header file
No comments:
Post a Comment