cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
path for .h files
path for .h files
Sep 28, 2010 at 6:28am UTC
Nay
(8)
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
Sep 28, 2010 at 3:59pm UTC
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
Sep 28, 2010 at 3:59pm UTC
Sep 28, 2010 at 5:03pm UTC
Bazzy
(6281)
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.