Often encounter two kinds of include reference header file case, in fact, the difference is very simple, as follows:
First, #include < >
#include < > refers to the header file inside the compiler's class library path.
If your compiler-defined self-lead file is referenced below C:\Keil\c51\INC\, then #include <stdio.h> reference is C:\Keil\c51\INC\stdio.h this header file, no matter what directory your project is in, C \ Keil\c51\inc\stdio.h This path is settled, usually refers to some of the header files, such as: Stdio.h, Conio.h, String.h, stdlib.h and so on.
Second, #include < >
#include "" refers to the header file in the relative path of your program directory.
If your project directory is in D:\Projects\tmp\, then #include "my.h" refers to the D:\Projects\tmp\my.h header file, which is generally used to refer to some of their own written header files. If you use the #include "", it will be in your project's current directory to find out if there is a corresponding header file, if not, it will be in the corresponding reference directory to find the corresponding header file. For example, using the #include "stdio.h" if there is no stdio.h this header file in your project directory, it will still be positioned to C:\Keil\c51\INC\stdio.h this header file.
The difference between C language learning _include<> and include ""