Compiling and Including External Files in Visual Studio

I'm using Visual Studio 2015 and I'm working on a project that uses several headers I've made myself. I've put them in a separate folder so that I don't have to move them between projects. How do I include them in my main file so that they will compile successfully?
type the #include filestructure/x.h at the top of your program i believe
Last edited on
I am not sure about Visual Studio 2015 but under Visual Studio 2013 you need to set the include path under Project->Properties->Configuration Properties->VC++ Directories.

In your program you include the header with:

#include "YourFilename.h"
Topic archived. No new replies allowed.