RE: [Dev-C++] include files those with a .h?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: James G. <Jam...@Cl...> - 2001-01-02 16:30:40
|
Quoted form - This form instructs the preprocessor to look for include files in the same directory of the file that contains the #include statement, and then in the directories of whatever files that include (#include) that file. The preprocessor then searches along the path specified by the /I compiler option, then along paths specified by the INCLUDE environment variable. Angle-bracket form - This form instructs the preprocessor to search for include files first along the path specified by the /I compiler option, then along the path specified by the INCLUDE environment variable. So the only difference is that the <> does not search the source directory, "" does. Regards, James. -----Original Message----- From: jag [mailto:won...@th...] Sent: Friday, December 29, 2000 1: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 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This electronic message and any attachment is intended to be read by the named addressee(s) only. Any other recipient should be aware that its contents may be legally privileged and/or confidential and that its use, disclosure, copying or distribution may be unlawful. Unless you are a named addressee, please delete this message Whilst C. & J. Clark International Limited has taken steps to prevent the transmission of computer viruses with electronic mail, responsibility for screening incoming messages and the risk of such transmission and its consequences lies with the recipient. C. & J. Clark International Limited Registered in England and Wales Company No. 141015 Registered Office: 40 High Street, Street, Somerset BA16 0YA Telephone: +44 (0) 1458 443131 Fax: +44 (0) 1458 447547 |