I have my header files for ex, header.h and I want to include in a .cpp
file using <>, it is showing error as "Can not fin the file.
".
I know for header files included using <>, the compiler searches them at the specified location, but how to tell the compiler to search the header files at a particular location while compiling the code.
I have tried,
g++ -I/src/include filename.cpp
but it shows same error as above.
Please suggest me the way to solve this problem.
Thanks in advance!