Page 1 of 1

C++ Standard Headers

Posted: May 5th, 2004, 10:47 pm
by ccb056
Here is a list I found somewhere which contains the standard headers for c++.
The C++ standard headers are:

* <algorithm> Many useful algorithms, like std::copy
* <bitset> Bitset
* <complex> Complex numbers
* <deque> Deque containters
* <exception> Exception handling
* <fstream> File IO
* <functional> Function objects
* <iomanip> IO manipulators
* <ios> IO base classes
* <iosfwd> IO forward declarations
* <iostream> IO streams
* <istream> Input streams
* <iterator> Useful iterators, like std::ostream_iterator
* <limits> Implementation properties
* <list> List containers
* <locale> I18 Locales
* <map> Assiociative containers
* <memory> Memory managment
* <new> Dynamic memory management
* <numeric> Numeric limits
* <ostream> Output streams
* <queue> Queue containers
* <set> Set containers
* <sstream> String streams
* <stack> Stack containers
* <stdexcept> Exception classes
* <streambuf> Stream buffer classes
* <string> String classes
* <typeinfo> Type identification
* <utility> Utility component
* <valarray> Arrays of values
* <vector> Vector containers

* <cassert> adapted assert.h from C
* <cctype> adapted ctype.h from C
* <cerrno> adapted errno.h from C
* <cfloat> adapted float.h from C
* <climits> adapted limits.h from C
* <clocale> adapted locale.h from C
* <cmath> adapted math.h from C
* <csetjump> adapted setjump.h from C
* <csignal> adapted signal.h from C
* <cstdarg> adapted stdarg.h from C
* <cstddef> adatped stddef.h from C
* <cstdio> adapted stdio.h from C
* <cstdlib> adapted stdlib.h from C
* <cstring> adapted string.h from C
* <ctime> adapted time.h from C
* <cwchar> adapted wchar.h from C
* <cwctype> adapted wctype.h from C

Posted: May 5th, 2004, 10:50 pm
by Smartweb
Note that iostream.h only contains the following code:

#include <istream.h>
#include <ostream.h>

Posted: May 5th, 2004, 10:51 pm
by ccb056
actually, I don't think you have to include the .h

Posted: May 5th, 2004, 10:53 pm
by Smartweb
You don't have to, but I like to. Its like turning file extentions on or off.