Language C++----Questions and Answers---Page 3

Question - What is the difference between #include <filename> and #include “filename”?
Answer -
The difference is in the location where the preprocessor searches for the included file.
For #include "filename" the preprocessor searches in the same directory as the file containing the directive. This method is normally used to include programmer-defined header files.
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.

Comments

Popular posts from this blog

Working Torrent Trackers list updated Oct 2016...

142.Keith Hunter JESPERSON

How to Fix VLC does not support UNDF Format : Best Fix