PageRenderTime 168ms CodeModel.GetById 157ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/www.cppreference.com/wiki/header_files

https://github.com/tsgates/cclookup
#! | 255 lines | 245 code | 10 blank | 0 comment | 0 complexity | d65db62ffe89ccabb4af7b0a59675f0b MD5 | raw file
  1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
  4 lang="en" dir="ltr">
  5<head>
  6  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  7  <title>header_files</title>
  8<meta name="generator" content="DokuWiki" />
  9<meta name="robots" content="index,follow" />
 10<meta name="date" content="2010-10-28T18:17:16-0700" />
 11<meta name="keywords" content="header_files" />
 12<link rel="search" type="application/opensearchdescription+xml" href="http://www.cppreference.com/wiki/lib/exe/opensearch.php" title="C++ Reference" />
 13<link rel="start" href="../index.html" />
 14<link rel="contents" href="http://www.cppreference.com/wiki/header_files?do=index" title="Sitemap" />
 15<link rel="alternate" type="application/rss+xml" title="Recent Changes" href="http://www.cppreference.com/wiki/feed.php" />
 16<link rel="alternate" type="application/rss+xml" title="Current Namespace" href="http://www.cppreference.com/wiki/feed.php?mode=list&amp;ns=" />
 17<link rel="alternate" type="text/html" title="Plain HTML" href="http://www.cppreference.com/wiki/_export/xhtml/header_files" />
 18<link rel="alternate" type="text/plain" title="Wiki Markup" href="http://www.cppreference.com/wiki/_export/raw/header_files" />
 19<link rel="canonical" href="header_files" />
 20<link rel="stylesheet" media="screen" type="text/css" href="lib/exe/css.php@t=custom1&amp;tseed=1289693594" />
 21<link rel="stylesheet" media="all" type="text/css" href="lib/exe/css.php@s=all&amp;t=custom1&amp;tseed=1289693594" />
 22<link rel="stylesheet" media="print" type="text/css" href="lib/exe/css.php@s=print&amp;t=custom1&amp;tseed=1289693594" />
 23<script type="text/javascript" ><!--//--><![CDATA[//><!--
 24var NS='';var JSINFO = {"id":"header_files","namespace":""};
 25//--><!]]></script>
 26<script type="text/javascript" charset="utf-8" src="lib/exe/js.php@tseed=1289693594" ></script>
 27</head>
 28<body>
 29<div class="dokuwiki export">
 30<!-- TOC START -->
 31<div class="toc">
 32<div class="tocheader toctoggle" id="toc__header">Table of Contents</div>
 33<div id="toc__inside">
 34
 35<ul class="toc">
 36<li class="clear">
 37
 38<ul class="toc">
 39<li class="level2"><div class="li"><span class="li"><a href="header_files#c_header_files" class="toc">C++ Header Files</a></span></div>
 40<ul class="toc">
 41<li class="level3"><div class="li"><span class="li"><a href="header_files#containers" class="toc">Containers</a></span></div></li>
 42<li class="level3"><div class="li"><span class="li"><a href="header_files#general" class="toc">General</a></span></div></li>
 43<li class="level3"><div class="li"><span class="li"><a href="header_files#c_strings" class="toc">C++ Strings</a></span></div></li>
 44<li class="level3"><div class="li"><span class="li"><a href="header_files#c_streams_and_inputoutput" class="toc">C++ Streams and Input/Output</a></span></div></li>
 45<li class="level3"><div class="li"><span class="li"><a href="header_files#numerics" class="toc">Numerics</a></span></div></li>
 46<li class="level3"><div class="li"><span class="li"><a href="header_files#language_support" class="toc">Language Support</a></span></div></li>
 47<li class="level3"><div class="li"><span class="li"><a href="header_files#c_standard_library" class="toc">C Standard Library</a></span></div></li></ul>
 48</li></ul>
 49</li></ul>
 50</div>
 51</div>
 52<!-- TOC END -->
 53
 54<h2 class="sectionedit1"><a name="c_header_files" id="c_header_files">C++ Header Files</a></h2>
 55<div class="level2">
 56
 57<p>
 58
 59This page lists the various header files that are available in standard C++, grouped by topic.
 60</p>
 61
 62</div>
 63<!-- EDIT1 SECTION "C++ Header Files" [1-124] -->
 64<h3 class="sectionedit2"><a name="containers" id="containers">Containers</a></h3>
 65<div class="level3">
 66<div class="table sectionedit3"><table class="inline">
 67	<tr class="row0">
 68		<td class="col0"><a href="stl/bitset/start" class="wikilink1" title="stl:bitset:start">&lt;bitset&gt;</a></td><td class="col1">Provides the specialized container class <a href="stl/bitset/start" class="wikilink1" title="stl:bitset:start">std::bitset</a>, a bit array.</td>
 69	</tr>
 70	<tr class="row1">
 71		<td class="col0"><a href="stl/deque/start" class="wikilink1" title="stl:deque:start">&lt;deque&gt;</a></td><td class="col1">Provides the container class template <a href="stl/deque/start" class="wikilink1" title="stl:deque:start">std::deque</a>, a double-ended queue.</td>
 72	</tr>
 73	<tr class="row2">
 74		<td class="col0"><a href="stl/list/start" class="wikilink1" title="stl:list:start">&lt;list&gt;</a></td><td class="col1">Provides the container class template <a href="stl/list/start" class="wikilink1" title="stl:list:start">std::list</a>, a doubly-linked list.</td>
 75	</tr>
 76	<tr class="row3">
 77		<td class="col0"><a href="stl/map/start" class="wikilink1" title="stl:map:start">&lt;map&gt;</a></td><td class="col1">Provides the container class templates <a href="stl/map/start" class="wikilink1" title="stl:map:start">std::map</a> and <a href="stl/multimap/start" class="wikilink1" title="stl:multimap:start">std::multimap</a>, an associative array and multimap.</td>
 78	</tr>
 79	<tr class="row4">
 80		<td class="col0"><a href="stl/queue/start" class="wikilink1" title="stl:queue:start">&lt;queue&gt;</a></td><td class="col1">Provides the container adapter class <a href="stl/queue/start" class="wikilink1" title="stl:queue:start">std::queue</a>, a single-ended queue.</td>
 81	</tr>
 82	<tr class="row5">
 83		<td class="col0"><a href="stl/set/start" class="wikilink1" title="stl:set:start">&lt;set&gt;</a></td><td class="col1">Provides the container class templates <a href="stl/set/start" class="wikilink1" title="stl:set:start">std::set</a> and <a href="stl/multiset/start" class="wikilink1" title="stl:multiset:start">std::multiset</a>, sorted associative containers or sets.</td>
 84	</tr>
 85	<tr class="row6">
 86		<td class="col0"><a href="stl/stack/start" class="wikilink1" title="stl:stack:start">&lt;stack&gt;</a></td><td class="col1">Provides the container adapter class <a href="stl/stack/start" class="wikilink1" title="stl:stack:start">std::stack</a>, a stack.</td>
 87	</tr>
 88	<tr class="row7">
 89		<td class="col0"><a href="stl/vector/start" class="wikilink1" title="stl:vector:start">&lt;vector&gt;</a></td><td class="col1">Provides the container class template <a href="stl/vector/start" class="wikilink1" title="stl:vector:start">std::vector</a>, a dynamic array.</td>
 90	</tr>
 91</table></div>
 92<!-- EDIT3 TABLE [145-1106] -->
 93</div>
 94<!-- EDIT2 SECTION "Containers" [125-1107] -->
 95<h3 class="sectionedit4"><a name="general" id="general">General</a></h3>
 96<div class="level3">
 97<div class="table sectionedit5"><table class="inline">
 98	<tr class="row0">
 99		<td class="col0"><a href="stl/algorithm/start" class="wikilink1" title="stl:algorithm:start">&lt;algorithm&gt;</a></td><td class="col1">Provides definitions of many container algorithms.</td>
100	</tr>
101	<tr class="row1">
102		<td class="col0"><a href="stl/functional/start" class="wikilink1" title="stl:functional:start">&lt;functional&gt;</a></td><td class="col1">Provides several function objects, designed for use with the standard algorithms.</td>
103	</tr>
104	<tr class="row2">
105		<td class="col0"><a href="stl/iterators" class="wikilink1" title="stl:iterators">&lt;iterator&gt;</a></td><td class="col1">Provides classes and templates for working with iterators.</td>
106	</tr>
107	<tr class="row3">
108		<td class="col0"><a href="http://www.cppreference.com/wiki/lib/locale" class="wikilink2" title="lib:locale" rel="nofollow">&lt;locale&gt;</a></td><td class="col1">Provides classes and templates for working with locales.</td>
109	</tr>
110	<tr class="row4">
111		<td class="col0"><a href="stl/memory/start" class="wikilink1" title="stl:memory:start">&lt;memory&gt;</a></td><td class="col1">Provides facilities for memory management in C++, including the class template <a href="stl/memory/auto_ptr" class="wikilink1" title="stl:memory:auto_ptr">std::auto_ptr</a>.</td>
112	</tr>
113	<tr class="row5">
114		<td class="col0"><a href="exception/start" class="wikilink1" title="exception:start">&lt;stdexcept&gt;</a></td><td class="col1">Contains standard exception classes such as std::logic_error and std::runtime_error, both derived from std::exception.</td>
115	</tr>
116	<tr class="row6">
117		<td class="col0"><a href="stl/utility/start" class="wikilink1" title="stl:utility:start">&lt;utility&gt;</a></td><td class="col1">Provides the template class <a href="stl/utility/pair" class="wikilink1" title="stl:utility:pair">std::pair</a>, for working with pairs (two-member tuples) of objects.</td>
118	</tr>
119</table></div>
120<!-- EDIT5 TABLE [1125-1936] -->
121</div>
122<!-- EDIT4 SECTION "General" [1108-1937] -->
123<h3 class="sectionedit6"><a name="c_strings" id="c_strings">C++ Strings</a></h3>
124<div class="level3">
125<div class="table sectionedit7"><table class="inline">
126	<tr class="row0">
127		<td class="col0"><a href="string/start" class="wikilink1" title="string:start">&lt;string&gt;</a></td><td class="col1">Provides the C++ standard string classes and templates.</td>
128	</tr>
129</table></div>
130<!-- EDIT7 TABLE [1959-2037] -->
131</div>
132<!-- EDIT6 SECTION "C++ Strings" [1938-2038] -->
133<h3 class="sectionedit8"><a name="c_streams_and_inputoutput" id="c_streams_and_inputoutput">C++ Streams and Input/Output</a></h3>
134<div class="level3">
135<div class="table sectionedit9"><table class="inline">
136	<tr class="row0">
137		<td class="col0"><a href="io/start" class="wikilink1" title="io:start">&lt;fstream&gt;</a></td><td class="col1">Provides facilities for file-based input and output.</td>
138	</tr>
139	<tr class="row1">
140		<td class="col0"><a href="io/start" class="wikilink1" title="io:start">&lt;ios&gt;</a></td><td class="col1">Provides several types and functions basic to the operation of iostreams.</td>
141	</tr>
142	<tr class="row2">
143		<td class="col0"><a href="io/start" class="wikilink1" title="io:start">&lt;iostream&gt;</a></td><td class="col1">Provides C++ input and output fundamentals.</td>
144	</tr>
145	<tr class="row3">
146		<td class="col0"><a href="io/start" class="wikilink1" title="io:start">&lt;iosfwd&gt;</a></td><td class="col1">Provides forward declarations of several I/O-related class templates.</td>
147	</tr>
148	<tr class="row4">
149		<td class="col0"><a href="io/start" class="wikilink1" title="io:start">&lt;iomanip&gt;</a></td><td class="col1">Provides facilities to manipulate output formatting, such as the base used when formatting integers and the precision of floating point values.</td>
150	</tr>
151	<tr class="row5">
152		<td class="col0"><a href="io/sstream/start" class="wikilink1" title="io:sstream:start">&lt;istream&gt;</a></td><td class="col1">Provides the template class std::istream and other supporting classes for input.</td>
153	</tr>
154	<tr class="row6">
155		<td class="col0"><a href="io/sstream/start" class="wikilink1" title="io:sstream:start">&lt;ostream&gt;</a></td><td class="col1">Provides the template class std::ostream and other supporting classes for output.</td>
156	</tr>
157	<tr class="row7">
158		<td class="col0"><a href="io/sstream/start" class="wikilink1" title="io:sstream:start">&lt;sstream&gt;</a></td><td class="col1">Provides the template class std::sstream and other supporting classes for string manipulation.</td>
159	</tr>
160	<tr class="row8">
161		<td class="col0">&lt;streambuf&gt;</td><td class="col1"> </td>
162	</tr>
163</table></div>
164<!-- EDIT9 TABLE [2077-2915] -->
165</div>
166<!-- EDIT8 SECTION "C++ Streams and Input/Output" [2039-2916] -->
167<h3 class="sectionedit10"><a name="numerics" id="numerics">Numerics</a></h3>
168<div class="level3">
169<div class="table sectionedit11"><table class="inline">
170	<tr class="row0">
171		<td class="col0"><a href="complex/start" class="wikilink1" title="complex:start">&lt;complex&gt;</a></td><td class="col1">Provides class template std::complex and associated functions for working with complex numbers.</td>
172	</tr>
173	<tr class="row1">
174		<td class="col0"><a href="numeric/start" class="wikilink1" title="numeric:start">&lt;numeric&gt;</a></td><td class="col1">Provides algorithms for numerical processing.</td>
175	</tr>
176	<tr class="row2">
177		<td class="col0"><a href="valarray/start" class="wikilink1" title="valarray:start">&lt;valarray&gt;</a></td><td class="col1">Provides the template class std::valarray, an array class optimized for numeric processing.</td>
178	</tr>
179</table></div>
180<!-- EDIT11 TABLE [2935-3245] -->
181</div>
182<!-- EDIT10 SECTION "Numerics" [2917-3246] -->
183<h3 class="sectionedit12"><a name="language_support" id="language_support">Language Support</a></h3>
184<div class="level3">
185<div class="table sectionedit13"><table class="inline">
186	<tr class="row0">
187		<td class="col0"><a href="exception/start" class="wikilink1" title="exception:start">&lt;exception&gt;</a></td><td class="col1">Provides several types and functions related to exception handling, including std::exception, the base class of all exceptions thrown by the Standard Library.</td>
188	</tr>
189	<tr class="row1">
190		<td class="col0"><a href="limits/start" class="wikilink1" title="limits:start">&lt;limits&gt;</a></td><td class="col1">Provides the template class <a href="limits/numeric_limits" class="wikilink1" title="limits:numeric_limits">std::numeric_limits</a>, used for describing properties of fundamental numeric types.</td>
191	</tr>
192	<tr class="row2">
193		<td class="col0"><a href="http://www.cppreference.com/wiki/new/start" class="wikilink2" title="new:start" rel="nofollow">&lt;new&gt;</a></td><td class="col1">Provides operators new and delete and other functions and types composing the fundamentals of C++ memory management.</td>
194	</tr>
195	<tr class="row3">
196		<td class="col0"><a href="typeinfo/start" class="wikilink1" title="typeinfo:start">&lt;typeinfo&gt;</a></td><td class="col1">Provides facilities for working with C++ run-time type information.</td>
197	</tr>
198</table></div>
199<!-- EDIT13 TABLE [3273-3848] -->
200</div>
201<!-- EDIT12 SECTION "Language Support" [3247-3849] -->
202<h3 class="sectionedit14"><a name="c_standard_library" id="c_standard_library">C Standard Library</a></h3>
203<div class="level3">
204
205<p>
206
207Each header from the <a href="c/start" class="wikilink1" title="c:start">C standard library</a> is included in the C++
208standard library under a different name, generated by removing the .h,
209and adding a &#039;c&#039; at the start, for example <code>time.h</code> becomes
210<code>ctime</code>. The only difference between these headers and the traditional
211C standard library headers is that where possible the functions should
212be placed into the <code>std:: namespace</code> (although few compilers actually do
213this). In <acronym title="International Organization for Standardization">ISO</acronym> C, functions in standard library are allowed to be
214implemented by macros, which is not allowed by <acronym title="International Organization for Standardization">ISO</acronym> C++.
215
216</p>
217<ul>
218<li class="level1"><div class="li"> &lt;cassert&gt;</div>
219</li>
220<li class="level1"><div class="li"> &lt;cctype&gt;</div>
221</li>
222<li class="level1"><div class="li"> &lt;cerrno&gt;</div>
223</li>
224<li class="level1"><div class="li"> &lt;cfloat&gt;</div>
225</li>
226<li class="level1"><div class="li"> &lt;climits&gt;</div>
227</li>
228<li class="level1"><div class="li"> &lt;cmath&gt;</div>
229</li>
230<li class="level1"><div class="li"> &lt;csetjmp&gt;</div>
231</li>
232<li class="level1"><div class="li"> &lt;csignal&gt;</div>
233</li>
234<li class="level1"><div class="li"> &lt;cstdlib&gt;</div>
235</li>
236<li class="level1"><div class="li"> &lt;cstddef&gt;</div>
237</li>
238<li class="level1"><div class="li"> &lt;cstdarg&gt;</div>
239</li>
240<li class="level1"><div class="li"> &lt;cstdio&gt;</div>
241</li>
242<li class="level1"><div class="li"> &lt;cstring&gt;</div>
243</li>
244<li class="level1"><div class="li"> &lt;ctime&gt;</div>
245</li>
246<li class="level1"><div class="li"> &lt;cwchar&gt;</div>
247</li>
248<li class="level1"><div class="li"> &lt;cwctype&gt;</div>
249</li>
250</ul>
251
252</div>
253<!-- EDIT14 SECTION "C Standard Library" [3850-] --></div>
254</body>
255</html>