Forms of both instructions #include

I do not care about the details of the programming process (carrying the C programming)

#include <stdio.h>
#include "stdio.h"
#include <stdio.h>

When used in the form of angle brackets, compiled from a storage system to find the C compiler system subdirectory to be included, such as (stdio.h), which is called the standard way *** ***.
If the instructions are for using the #include system library functions, and thus to include the appropriate header file system provides, in a standard manner appropriate time, to improve efficiency.

#include "stdio.h"

When using this way to compile, build system first in the user's current directory (usually the user to store the source file directory) to find the file you want to include, if not found, then look in standard fashion.
In such a way, that the user wants included in the file header is not provided by the system, but I have written header files (such header files are generally stored in the user's current directory), then the application '' (double apostrophe form), so you can not find the file.

Released four original articles · won praise 1 · views 2284

Guess you like

Origin blog.csdn.net/hall_fame/article/details/104308870
Recommended