RE: [Dev-C++] include files those with a .h?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ioannis V. <no...@ya...> - 2000-12-29 22:38:02
|
#include <merlin.h> makes compiler to look at the default places for the header file (e.g. in Dev-C++ the include directory). #include "merlin.h" makes compiler to look at the same directory with your source code file to find merlin.h. #include "\temp\merlin.h" looks for merlin.h in directory \temp. (I think Dev-C++ uses the UNIX notation for directories /, so in this case it is #include "/temp/merlin.h"). Ioannis > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...]On Behalf Of jag > Sent: Friday, December 29, 2000 3:29 AM > To: devc++ mail-list > Subject: [Dev-C++] include files those with a .h? > > > ok i've got my dev cpp ver 4.0 ready to boogy with! > > cos i'm a novice at the moment bear with me..simple questions first. > > all the include files for a program end with .h correct? > > so when you compile a program and it has errors saying it can not find the > .h files you have them stored on the hard drive in the wrong place! > > So saying that do all the include files have to be in the dev cpp include > directory? or is there a simpler easier way to go about it? > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/mailman/listinfo/dev-cpp-users > __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com |