path for .h files

I have downloaded a LEMON (C++) library and want to use it in my dev C program. I dont know hoiw to include it in my program. How to write an include statement if the file is c:\my documents\file and folders\lemon-1.2\include\smartgraph.h
closed account (Lv0f92yv)
I think you can use:

#include "c:\my documents\file and folders\lemon-1.2\include\smartgraph.h"

using the fully qualified path, and quotations for the include.
Last edited on
You can set up your compiler to have c:\my documents\file and folders\lemon-1.2\include as lookup directory for #include<>
Topic archived. No new replies allowed.