Saved Bookmarks
| 1. |
Make a distinction between the following: #include and #include "file"? |
|
Answer» The key distinction between the two is the preprocessor's search location for the included FILE. The preprocessor looks in the same directory as the DIRECTIVE's file for #include "file" This METHOD is TYPICALLY used to include programmatically generated header files. The preprocessor, on the other hand, looks for #include <file> in pre-designated search directories by the compiler or the IDE (Integrated DEVELOPMENT Environment), which are not always in the same directory as the directive's file. This method is typically used to include standard library header files. |
|