C + + Common #include header file summary _c language

Source: Internet
Author: User
Tags bit set exception handling mathematical functions

This article detailed list of C + + contains the header file name and function description, more suitable for beginners to understand, almost every C + + file start to #include, but most people do not pay attention to #include behind what, the explanation of this article believe will understand the C + + The structure is somewhat helpful.

#include <deque>//stl two-terminal queue container
#include <exception>//Exception handling class
#include <fstream>//File input/output
#include <functional>//stl define an operational function (instead of an operator)
#include <limits>//Defining values constants for various data types
#include <list>//stl Linear list container
#include <map>//stl mapping container
#include <iomanip>//parametric input/output
#include <ios>//Basic input/output support
#include <sstream>//streaming based on strings
#include <stack>//stl Stack container
General algorithm for #include <algorithm>//stl
#include <bitset>//stl bit set container
#include <cctype>//character processing
#include <stdexcept>//Standard Exception class
#include <streambuf>//Bottom input/output support
#include <string>//String class
#include <utility>//stl Generic template classes
#include <vector>//stl dynamic array container
#include <iosfwd>//input/output system use of the predecessor statement
#include <cerrno>//define error codes
#include <clocale>//define localization functions
#include <cmath>//definition of mathematical functions
#include <complex>//plural class
#include <cstdio>//definition of input/output functions
#include <cstdlib>//define miscellaneous functions and memory allocation functions
#include <cstring>//String handling
#include <ctime>//definition of time functions
#include <iostream>//Data flow input/output
#include <istream>//Basic input stream
#include <ostream>//Basic Output flow
#include <queue>//stl Queue container
#include <set>//stl Collection container
#include <cwchar>//wide character processing and input/output
#include <cwctype>//Wide character classification
#include <complex.h>//complex processing
#include <fenv.h>//floating point environment
#include <inttypes.h>//integer format conversion
#include <stdbool.h>//Boolean environment
#include <stdint.h>//Integral environment
#include <tgmath.h>//Common type mathematical macros

Readers can understand the Chinese interpretation, and in C + + program development quickly remember them, for later programming to facilitate.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.