Say I have the following:
Main.cpp
#include <Windows.h>
#include "B.h"
...
-
B.h
...
SomePrototypeFunctionNeedingWindowsH();
-
In B.h, I'm not required to include Windows.h again as it's already been included beforehand. For clarity, I would like to be required to include Windows.h for each new file that wants it. I'm using VS2015.
Can this be done?
Can this be done without impact on compilation time?
Would this be considered an acceptable practice?
Will I run in to any issues if this was done?