这个话题,看似简单,可是有多少程序员不看书就能回答正确呢,反正我是不能。
下面这一段写的很好,简洁明了。
Quoted form
This form instructs the preprocessor to look for include files in the same directory of the file that contains the #include statement, and then in the directories of whatever files that include (#include) that file. The preprocessor then searches along the path specified by the /I compiler option, then along paths specified by the INCLUDE environment variable.
Angle-bracket form
This form instructs the preprocessor to search for include files first along the path specified by the /I compiler option, then along the path specified by the INCLUDE environment variable.
原文地址http://topic.youkuaiyun.com/u/20071204/23/6952b986-361a-4f1b-b222-12404a3b0f4f.html
本文详细介绍了C语言中预处理包含机制的两种形式:尖括号形式与引号形式。前者指示预处理器沿编译器指定路径搜索包含文件,而后者则先从当前文件目录开始搜索。
9707

被折叠的 条评论
为什么被折叠?



