Jonathan Kittell Jonathan Kittell - 1 month ago 7
C++ Question

Why does include with brackets not find the header file?

I have a header file

DCM_Types.hh
which is in fact located in the project directory. Why cannot find the source file?

enter image description here

Answer

Angle brackets are used to indicate the inclusion of system headers. Use quotation marks to include a non-system header.

#include <system_header.h>

#include "personal_header.h"

Comments