AW: [Dev-C++] help needed for #include
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Christian W. <Chr...@vo...> - 2003-08-05 14:38:05
|
Hi, =20 =20 in MS CPP cases #include "foo.h" means that it first searches in the directory of your project and then in the standard include-dir of your compiler, in the other case it seaches first in the include-dir of the compiler, and after that in your project dir... =20 (In some cases the compiler searches only in the directory for your = compiler ...) =20 =20 Kind regards=20 =20 =20 Christian -----Urspr=FCngliche Nachricht----- Von: Avik Ghose [mailto:a_g...@ya...]=20 Gesendet: Dienstag, 5. August 2003 16:09 An: dev...@li... Betreff: [Dev-C++] help needed for #include Hi all, I have this slight confusion regarding how the two are different. #include <foo.h> #include "foo.h" I mean how does GNU make and gcc differentiate while searching for the include file in both the cases. Thanks in advance. Have a nice day! =20 Thanx and Regards Avik Ghose=20 Yahoo! India Mobile <http://in.yimg.com/i/in/mobile/pctomob.gif> <http://in.mobile.yahoo.com/new/pc/> SMS using the Yahoo! <http://in.mobile.yahoo.com/new/pc/> Messenger; Download <http://in.messenger.yahoo.com/> latest version. |