c - Difference between #include <filename> & #include "filename" -


here preprocessor directive in c :

#include <filename> 

we can write in way also:

#include "filename" 

is there difference between these two?

in general, <> version should in "system directories", while "" should in "local directories" first, , system directories.

what means implementation dependent. in cases "" in current directory first, in implementations in directory of source (.c) file first (and compilers have switch that). also, behavior different w.r.t. "set of system directories" search if "local directory search" fails (the same <> or not).


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -