Home  >  Article  >  Backend Development  >  What header file is stdio.h?

What header file is stdio.h?

藏色散人
藏色散人Original
2019-06-03 11:44:3511356browse

What header file is stdio.h?

Generally, in C language or C, the extension name of the file used to #include is .h, which is called header file. The purpose of the #include file is to put content common to multiple compilation units (that is, c or cpp files) into a separate file to reduce the overall code size; or to provide cross-project common code.

In the current c version, the application of this header file should be #includeade979de5fc0e1ca0540f360a64c230b

##stdio refers to "standard input & output" (standard input and output)

So, if the standard input and output functions are used in the source code, this header file must be included!

For example, printf("%d",i); scanf("%d",&i); and other functions in C language.

Reference method

#include <stdio.h>

(Note: In TC2.0, it is allowed to directly call the functions in this header file without referencing it, but this approach is not standard . It is also not recommended to do this to avoid problems that cannot be compiled or executed in other IDEs.)

The above is the detailed content of What header file is stdio.h?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:What data type is char?Next article:What data type is char?