C++标准库名字和头文件--表

AI权益加码!Claude Code、Cursor等20+工具免费用! 购周边限时加赠Coding Plan Lite,畅享主流AI工具!学习进阶更高效! 阅读详情

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++笔记6:头文件析构函数 /****************************************************************************************** C++学习笔记 by jwhu 2016/1/7 1、析构函数的用法 2、对于头文件的详解 *************************** 阅读详情

相关推荐

C++标准库头文件名字

NULL 博文链接:https://jacky-dai.iteye.com/blog/2308209

中文按拼音首字母排序C++实现方案

C++ 中文转拼音 示例

fuyuande的博客 7853

英文名排序c++

Zx120110的博客 1482

标准库、HAL库、LL库

以STMicroelectronics的STM32系列为例,标准外设库提供了一组函数,用于简化外设(如GPIO、USART、SPI等)的配置操作。LL库(低层库)提供了对硬件外设的更底层的访问接口,允许开发者直接操作寄存器,但仍保留了一定的封装以简化常见操作。以STM32的HAL库为例,它封装了更多的硬件细节,提供了一致的接口来操作不同的外设。:需要开发者具备更强的硬件知识,虽然代码复杂,但性能灵活性最优,适合对性能要求高的应用。,你只需掌握基础操作,很多细节是自动处理的,适合入门简单应用。

weixin_61944480的博客 4035

C++各大有名库的介绍之C++标准库

<br />C++各大有名库的介绍之C++标准库<br />  标准库中提供了C++程序的基本设施。虽然C++标准库随着C++标准折腾了许多年,直到标准的出台才正式定型,但是在标准库的实现上却很令人欣慰得看到多种实现,并且已被实践证明为有工业级别强度的佳作。<br />1、Dinkumware C++ Library<br />参考站点:http://www.dinkumware.com/<br />P.J. Plauger编写的高品质的标准库。P.J. Plauger博士是Dr. Dobb's程序设计杰出

我的编程之旅 658

标准库中的名字(std::cout)

#include&lt;iostream&gt; int main() { std::cout&lt;&lt;"Enter two numbers:"&lt;&lt;std::endl; int v1=0,v2=0; std::cin&gt;&gt;v1&gt;&gt;v2; std::cout&lt;&lt;"The sum of"&lt

chen_zan_yu_的博客 1681

C++ 头文件的作用用法

示例代码编译运行环境:Windows 64bits+VS2017+Debug+Win32。头文件是 C/C++ 程序不可或缺的组成部分,我们需要了解头文件的作用相关规范。

Doublelv 的博客专栏。 4万+

介绍 C++ 头文件 — <iostream头文件

要在 C++ 中执行任何输入输出操作,我们需要使用 iostream 头文件。如果没有头文件,就无法从用户那里获取输入或打印任何输出。引入现为如同定义了一个类型的静态存储期对象一样:若它是首个被构造的对象,则其构造函数初始化各个标准流对象,而若它是最后被销毁的对象,则其析构函数将会冲洗这些对象(除了 cin wcin)。

ZH_qaq的博客 6372

C++头文件的作用以及库文件的联系

目录0. 前言1. C++头文件用&amp;amp;amp;amp;lt;&amp;amp;amp;amp;gt;包含还是” “?2. 头文件什么时候要加.h什么时候不加? 0. 前言 转载 C++头文件用&amp;amp;amp;amp;lt;&amp;amp;amp;amp;gt;还是“” 以及 要加.h还是不加 的问题 1. C++头文件用&amp;amp;amp;amp;lt;&amp;amp;amp;amp;gt;包含还是” “? 答:用&a

认真的虎的博客 3108

采用 C 标准库头文件C++ 版本

In addition to facilities defined specifically for C++, the C++ library incorporates the C library. The cctype header makes available the C library functions defined in the C header file named ctype.h

lizhifeng2009的专栏 840

采用 C 标准库头文件C++ 版本(c++primer)

C++ 标准库除了定义了一些选定于 C++ 的设施外,还包括 C 标准库C++ 中的头文件 cctype 其实就是利用了 C 标准库函数,这些库函数就定义在 C 标准库的 ctype.h 头文件中。 C 标准库头文件命名形式为 name 而 C++ 版本则命名为 cname ,少了后缀,.h 而在头文件名前加了 c 示这个头文件源自 C 标准库。因此,cctype 与 ctype.h

fpf880821的专栏 733

C++标准库名字头文件

标准库名字头文件Name名字Header头文件Name名字Header头文件abortios_baseaccumulateisalphaallocatorislower

ryj111的专栏 1236

C++名字空间

C++名字空间

Xutaiwer的博客 933

C/C++ 头文件的问题小结

C/C++ 头文件的问题小结    C++中新定义的方法都是有名字空间的 比如cout就属于std名字空间 如果include头文件的时候加上.h,默认会using namespace 否则需要自己加上 using namespace XXX 对于C中已经定义的方法如printf

mal327的专栏 1490

C头文件C++头文件的区别

1.          是c标准库头文件,里面声明了与字符串相关的操作。比如说,memcpy()、strlen()、strcmp()......        是c++标准库头文件,里面声明定义了string类以及其相关操作所以,要想在C++中使用string这个类,则要将此头文件include。也就是因为它是c++头文件类,所以在使用string这个标准库的类时,应该用using

Justin_Ting的专栏 2238

C++实操 - 使用C标准库头文件

C++11标准中,对如何兼容使用C语言的标准库头文件进行了说明: 就是你在C++程序里使用C语言的头文件,在使用C++编译器进行编译时,是OK的。 这时因为C++里面也存放了上面列的26个C语言标准库头文件,可以直接使用,同时这些头文件定义的东西都是在全局作用域里的。 另外一种C++下使用C头文件的的方式,是#include <cname>形式,比如#include <cstdio>。 这种方式上面的作用是一样的,都在全局作用域下可以使用C标准库头文件里定义的..

guoqx的专栏 2442

include头文件C++标准库与C标准库

http://www.cppblog.com/abilitytao/archive/2011/10/20/77699.html C++标准库简介(转) C++标准库的所有头文件都没有扩展名。C++标准库的内容总共在50个标准头文件中定义,其中18个提供了C库的功能。 <cname>形式的标准头文件【 <complex>例外】其内容与I...

dianqi7184的专栏 541

C++类接口头文件概述

<br />主要参考Effective C++<br /><br />对于类中函数接口的描述<br />· 纯虚函数意味着仅仅继承函数的接口。如果类C声明了一个纯虚函数mf,C的子类必须继承mf的接口,C的具体子类必须为之提供它们自己的实现。<br /> · 简单(一般普通的)虚函数意味着继承函数的接口加上一个缺省实现。如果类C声明了一个简单(非纯)虚函数mf,C的子类必须继承mf的接口;如果需要的话,还可以继承一个缺省实现。<br /> · 非虚函数意味着继承函数的接口加上一个强制实现。如果类C

Gary's Blog --- A C++ programmer 3508

C++头文件std命名空间

C++是在C语言的基础上开发的,早期的 C++ 还不完善,不支持命名空间,没有自己的编译器,而是将 C++ 代码翻译成C代码,再通过C编译器完成编译。这个时候的 C++ 仍然在使用C语言的库,stdio.h、stdlib.h、string.h 等头文件依然有效;此外 C++ 也开发了一些新的库,增加了自己的头文件,例如: iostream.h:用于控制台输入输出头文件。 fstream.h:...

hu626626的博客 1774
上一篇: 迅雷5.0.0.72 广告条移除
下一篇: Windows 2003 SP1 DDK下载
Mobidogs
博客等级 码龄21年 186粉丝 264原创
评论 2
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值