Overview of C/C ++ header files

Source: Internet
Author: User
Tags bit set mathematical functions

 

 

C. Traditional C ++
# Include <assert. h> // set the insertion point
# Include <ctype. h> // Character Processing
# Include <errno. h> // defines error codes.
# Include <float. h> // floating point number processing
# Include <fstream. h> // file input/output
# Include <iomanip. h> // parameterized input/output
# Include <iostream. h> // Data Stream Input/Output
# Include <limits. h> // defines the maximum constants of various data types.
# Include <locale. h> // defines the localization function
# Include <math. h> // defines mathematical functions.
# Include <stdio. h> // define Input/Output Functions
# Include <stdlib. h> // defines miscellaneous functions and memory allocation functions.
# Include <string. h> // string processing
# Include <strstrea. h> // array-based input/output
# Include <time. h> // defines the time function.
# Include <wchar. h> // wide character processing and input/output
# Include <wctype. h> // wide character classification ///////////////////////////////// //////////////////////////////////////// /Standard C ++ (not commented out 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
# 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.