I'm writing a pretty long program with a complex folder structure in c++, using a simple Notepad++ editor and SDK7.1 compiler. I have created several files with some basic functions that I call into my main file using #include <filename.h>
. When compiling I get the following error:
filename: No such file or directory
I'd like to append the directory path so the compiler can find my .h
files. I have found a lot of help on the issue using Visual Studio's built-in tools but nothing on actual coding syntax to achieve this.
I have already tried switching #include <filename.h>
to #include "filename.h"
and it did not change the error. The only thing that has worked so far is calling out #include <C:\....\filename.h>
but this is not a desirable solution because I am #include
ing many files at the beginning of my program.
Please help! Thanks in advance