What header file is stdio.h?

藏色散人
Release: 2019-06-03 11:44:35
Original
11370 people have browsed it

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 #include<stdio.h>

##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>
Copy after login

(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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template