how can i do to add a head file into include directory in a project

Right-click on the project under Project Explorer. Uncollapse the C/C++ General dropdown and select Paths and Symbols. Add your new search search paths as required and use the #include directive as you normally would.

1 Like

but i can’t find the <c/c++ General> item when i Right-click on the project under Project Explorer

Hi ling,

In Project Explorer, right click on the project and then click Properties (the last option at the bottom of the menu).

From there you should be able to follow Mr. Dave’s instructions exactly.

ok, thank you very much