Linux C/C++ ------ “” and <> in the use of head include file(Pending Verification)

for example:

#include <stdlib.h>
#include <stdio.h>
#include <wiringPi.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "linux/init.h"

in Eclipse

<>   -----   对于使用尖括号的第一种情况,预处理器会在系统预设的头文件包含目录搜索头文件

""     -----   对于使用双引号的第二种情形,预处理程序则会在目标文件的文件夹内搜索相应的头文件,如果在该路径下没有找到所包含的头文件,就会到系统预设目录进行搜索。也就是说,使用双引号的搜索路径包含了使用尖括号的情形

原文地址:https://www.cnblogs.com/god-of-death/p/6142928.html