+ 1
What is the difference
#include "stdio.h" #include <stdio.h>
3 Antworten
+ 2
Melu
h> is meant for system headers, while #include "something. h" is for headers of your own program. System headers are searched for in usual system directories (and those included with -I argument), which your headers are searched for in current directory and then the same locations as system headers.
+ 9
When you put a header file in quotes " " , the compiler will search for the header file in the current file path, whereas when put inside <>, it searches for it in global library path.
generally angle brackets(<>) are used to include standard headers and double quotes for custom headers.
+ 2
Also use the search bar:
https://www.sololearn.com/Discuss/2599828/what-is-the-difference-between-stdio-h-stdio-h-in-c