STL header file

Source: Internet
Author: User
Tags bit set
# Include <iostream> standard input/output cin cout
# Include <algorithm> algorithm libraries such as sort find
# Include <vector> ordered containers, which store the same type and array, but can be dynamically added
# Include <functional>
# Include <string> string type
# Include <cstdlib> basic library

Let's take a look.

Standard C ++ (same as above)

# Include <algorithm> // General STL algorithm
# Include <bitset> // STL bit set container
# Include <cctype>
# Include <cerrno>
# Include <clocale>
# Include <cmath>
# Include <complex> // plural class
# Include <cstdio>
# Include <cstdlib>
# Include <cstring>
# Include <ctime>
# Include <deque> // STL double-end queue container
# Include <exception> // exception handling class
# Include <fstream>
# Include <functional> // STL defines operation functions (instead of operators)
# Include <limits>
# Include <list> // STL linear list container
# Include <map> // STL ing container
# Include <iomanip>
# Include <ios> // Basic Input/Output support
# Include <iosfwd> // pre-declaration used by the input/output system
# Include <iostream>
# Include <istream> // basic input stream
# Include <ostream> // Basic output stream
# Include <queue> // STL queue container
# Include <set> // STL collection container
# Include <sstream> // string-based stream
# Include <stack> // STL stack container
# Include <stdexcept> // standard exception class
# Include <streambuf> // underlying input/output support
# Include <string> // string class
# Include <utility> // STL common template class
# Include <vector> // STL dynamic array container
# Include <cwchar>
# Include <cwctype>

Using namespace std;

//////////////////////////////////////// //////////////////////////////////

C99 added

# Include <complex. h> // plural Processing
# Include <fenv. h> // floating point Environment
# Include <inttypes. h> // integer format conversion
# Include <stdbool. h> // Boolean Environment
# Include <stdint. h> // integer environment
# Include <tgmath. h> // general mathematical macros

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.