". The header file is a carrier file that contains functional functions and data interface declarations; it is mainly used to save the declaration of the program, while the definition file is used to save the implementation of the program."/> ". The header file is a carrier file that contains functional functions and data interface declarations; it is mainly used to save the declaration of the program, while the definition file is used to save the implementation of the program.">

Home  >  Article  >  Backend Development  >  What is the c++ universal header file?

What is the c++ universal header file?

烟雨青岚
烟雨青岚Original
2020-07-06 15:31:0427748browse

c The universal header file is: "#include". The header file is a carrier file that contains functional functions and data interface declarations; it is mainly used to save the declaration of the program, while the definition file is used to save the implementation of the program.

What is the c++ universal header file?

In C language family programs, header files are widely used. Generally speaking, each C/C program usually consists of header files and definition files. As a carrier file containing declarations of functional functions and data interfaces, the header file is mainly used to save the declaration of the program, while the definition file is used to save the implementation of the program.

c The universal header file is:

#include<bits/stdc++.h>

In fact, it includes:

(basically includes most of STL Library functions, easy and fast to use)

#include <iostream>
#include <cstdio>
#include <fstream>
#include <algorithm>
#include <cmath>
#include <deque>//
#include <vector>//向量
#include <queue>//队列
#include <string>
#include <cstring>      
#include <map>//
#include <stack>//栈
#include <set>//

Recommended tutorial: "

C Language"

The above is the detailed content of What is the c++ universal header file?. 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