2
I am developing a cross-platform project (Windows - Linux - Macos). During its development and while generating documentation (via Doxygen) I realized that there are many files *.h to be called by several files *.cpp. My questions are as follows::
- It is possible to limit the amount of times that a header file is called in the project?
- Recommend the use of the directive
#pragma once? - Taking for example the file
a.hincludesa1.handa2.hand is included byb.handb.hneedsa1.h, I have to call them implicitly intob.h? It is not enough to be already called ina.h?