+ 2

What the difference between the header " " et < > ?

hi guys..can you tell me what the difference between the header included with " " and the other included with < > ?

16th Feb 2018, 5:12 PM
De Vinci
3 Antworten
+ 7
For #include <filename> the preprocessor searches in an implementation dependent manner, normally in search directories pre-designated by the compiler/IDE. This method is normally used to include standard library header files. For #include "filename" the preprocessor searches first in the same directory as the file containing the directive, and then follows the search path used for the #include <filename> form. This method is normally used to include programmer-defined header files. https://stackoverflow.com/questions/21593/what-is-the-difference-between-include-filename-and-include-filename
16th Feb 2018, 5:24 PM
Scooby
Scooby - avatar
+ 3
thank you guys :)
16th Feb 2018, 5:34 PM
De Vinci