C++ 标准库中函数所对应的头文件(转)

名字                              头文件
==========================================
abort                             <cstdlib>
accumulate                 <numeric>
allocator                       <memory>
auto_ptr                        <memory>
back_inserter              <memory>
bad_alloc                      <new>
bad_cast                       <typeinfo>
bind2nd                         <functional>
bitset                               <bitset>

boolalpha                       <iostream>
cerr                                   <iostream>
cin                                    <iostream>
copy                                 <algorithm>
count                                <algorithm>
count_if                           <algorithm>
cout                                  <iostream>
dec                                     <iostream>
deque                                <deque>
endl                                    <iostream>
ends                                    <iostream>
equal_range                      <algorithm>
exception                           <exception>
fill                                       <algorithm>
fill_n                                  <algorithm>
find                                     <algorithm>
find_end                            <algorithm>
find_first_of                        <algorithm>
fixed                                     <iostream>
flush                                     <iostream>
for_each                                <algorithm>
front_inserter                       <iterator>
internal                                  <iostream>
ios_base                              <ios_base>
isalpha                                <cctype>
islower                                <cctype>
ispunct                                 <cctype>
isspace                                 <cctype>
istream                                   <iostream>
istream_iterator                    <iterator>

istringstream                         <sstream>
isupper                                   <cctype>
left                                           <iostream>
less_equal                            <functional>
list                                            <list>
logic_error                                <stdexcept>
lower_bound                           <algorithm>
make_pair                                <utility>
map                                           <map>
max                                           <algorithm>
min                                              <algorithm>
multimap                                   <map>
multiset                                       <set>
negate                                         <functional>
noboolalpha                              <iostream>
noshowbase                              <iostream>
noshowpoint                                 <iostream>

noskipws                                      <iostream>
notl                                                 <functional>
nounitbuf                                     <iostream>
nouppercase                                <iostream>
nth_element                                <algorithm>
oct                                                   <iostream>
ofstream                                       <fstream>
ostream                                         <iostream>
ostream_iterator                          <iterator>
ostringstream                               <sstream>
out_of_range                                  <stdexcept>
pair                                                 <utility>
partial_sort                                      <algorithm>
plus                                                 <functional>
priority_queue                                <queue>
ptrdiff_t                                            <cstddef>
queue                                            <queue>
range_error                                  <stdexcept>
replace                                          <algorithm>
replace_copy                                <algorithm>
reverse_interator                          <interator>
right                                                  <iostream>
runtime_error                                   <stdexcept>
scientific                                         <iostream>
set                                                   <set>

set_difference                              <algorithm>
set_intersection                           <algorithm>
set_union                                      <algorithm>
setfill                                              <iomanip>
setprecision                                 <iomanip>
setw                                               <iomanip>
showbase                                   <iostream>
showpoint                                     <iostream>
size_t                                             <cstddef>
skipws                                           <iostream>
sort                                                    <algrithm>
sqrt                                                <cmath>
stable_sort                                  <algorithm>
stack                                              <stack>
strcmp                                          <cstring>
strcpy                                             <cstring>
string                                            <string>
stringstream                             <sstream>
strlen                                            <cstring>
strncpy                                         <cstring>
terminate                                     <exception>
tolower                                         <cctype>
toupper                                        <cctype>
unexcepted                                  <exception>
uninitialized_copy                         <memory>
unitbuf                                          <iostream>
unique                                         <algorithm>
unique                                          <algorithm>
upper_bound                             <algorithm>
uppercase                                    <iostream>
vector                                             <vector>

你可能感兴趣的:(C++ 标准库中函数所对应的头文件(转))