difference b/w #include <iostream.h> vs. #include "iostream.h "
What is the difference between #include <iostream.h> and #include "iostream.h"?
Collapse
X
-
Tags: None
-
every compiler has default include path.
Whenever you include a header file with <> compiler look for include file at default path on the otherhand in case of double Quote it will look for header file in the same directory with the program source code if file is missing then it will look for n the default path. if missing in both place then generate error. -
Also, <iostream.h> is pre-ANSI C++ from the time before 1998. No one should be using these old compilers. The ANSI C++ uses <iostream>Comment
-
"" signifies file is in nearby directories to project file. <> signifies file is in standard library and not nearby (usually near / root dir if you want to think in terms of UNIX file structure )Comment
Comment