, #ifndef. .
A direct link is used to avoid #include (ing) header files for objects that you use only with a pointer or link. However, in this case you do not solve the problem with the circular link, you just practice a good design and separate the .h file from the details that it does not need to know.
source
share