Calling header file from a centralized folder

Hi Seniors,

Scenario as below:

I have two module, A and B

Module A:
- A.cpp & A.h

Module B:
- B.cpp & B.h

and then for these two *.h file i put in another centralized folder call HeaderFile.

when I #include "B.h" from A.cpp, the compiler show me Error code C1083.

If anybody got any idea about this?

Thanks in advance.
What does that error code mean/what is the error text?
ERROR CODE 1083 : Cannot Open Include File
The headers are in a folder the compiler/preprocessor doesn't know about.

Add that folder to the include path. How to do that depends on the IDE or whatever you use to compile
Topic archived. No new replies allowed.