标准C ++库 [英] Standard C++ Library

查看:78
本文介绍了标准C ++库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

标准C ++库是否真的包含函数

类似于以下java包???


java.io

java.lang

java.util

http://www.cplusplus.com/reference/

在我看来,标准C ++库有标题来管理

字符串/字符,做I / O,数据结构如Stack,Queue,

HashMap,向量,时间,按位运算,异常,迭代器在

收藏......等等b $ b与上面非常相似的非常核心 java软件包

解决方案

4月1日下午7:49,June Lee< iiu ... @ yahoo.comwrote:
< blockquote class =post_quotes>
是不是标准C ++库几乎包含函数

类似于以下java包???


java.io

java.lang

java.util

http://www.cplusplus.com/reference/

在我看来,标准C ++库有标题来管理

字符串/字符,做I / O,数据结构如Stack,Queue,

HashMap,向量,时间,按位运算,异常,迭代器on一个

集合等等


与上面非常相似的非常核心 java包



是的,C ++是一种非常便携的通用语言,可以在从超级计算机到嵌入式设备的各种平台上运行。很多

这些平台和运行它们的应用程序不需要一直都是这样的,所以对GUI来说没有意义,

网络,线程等都进入标准库。


因此C ++中有3种类型的库/标题?

CRT(C运行时库)

标准C ++库

用于Visual C ++的平台SDK


其中CRT是像执行所有位和字节的低级代码

其中Platform SDK是执行所有这些Web服务的高级代码,

安全性,消息队列,UI / GUI,COM​​, HTTP /网络的东西?


任何其他必须拥有/使用很多类型的C ++库

程序员除了上面的3个库之外还使用了很多?


>是的,C ++是一种非常便携的通用语言,可在从超级计算机到嵌入式设备的平台上运行。许多这些平台和应用程序在它们上运行并不是一直需要所有的东西,因此将GUI,网络,线程等全部纳入其中是没有意义的。标准库。


June Lee写道:


[请不要顶尖]
< blockquote class =post_quotes>
>

其中CRT是低级代码,比如做所有位和字节

其中Platform SDK是高级代码做的所有这些Web服务,

安全性,消息队列,UI / GUI,COM​​,HTTP /网络的东西?


任何其他必须拥有/使用的很多种除了以上3个库之外,程序员还使用了很多C ++库吗?


>是的,C ++是一种非常便携的通用语言,在从超级计算机到嵌入式设备的平台上运行。许多这些平台和应用程序在它们上运行并不是一直需要所有的东西,因此将GUI,网络,线程等全部纳入其中是没有意义的。标准库。


因此C ++中有3种类型的库/标题?


CRT( C运行时库)

标准C ++库

用于Visual C ++的平台SDK



不,有C ++标准库,包括C标准库。


其他任何东西都是特定于平台的。


有几个跨平台库,广泛使用,

启动是一个。


-

Ian Collins。


is it true that Standard C++ Library is pretty much include functions
similar to the following java packages???

java.io
java.lang
java.util

http://www.cplusplus.com/reference/

It seem to me the Standard C++ Library have headers to mainipulate
string / characters, doing I/O, and data structure like Stack, Queue,
HashMap, Vector, time, bitwise operation, exception, iterator on a
collection ... etc

which pretty similar to above "very core" java package

解决方案

On Apr 1, 7:49 pm, June Lee <iiu...@yahoo.comwrote:

is it true that Standard C++ Library is pretty much include functions
similar to the following java packages???

java.io
java.lang
java.util

http://www.cplusplus.com/reference/

It seem to me the Standard C++ Library have headers to mainipulate
string / characters, doing I/O, and data structure like Stack, Queue,
HashMap, Vector, time, bitwise operation, exception, iterator on a
collection ... etc

which pretty similar to above "very core" java package

Yes, C++ is a very portable general purpose language that runs on
platforms ranging from super computers to embedded devices. Many of
these platforms and applications which run on them do not require
everything all the time, so it doesn''t make sense to stuff GUI,
networking, threading, etc. all into the standard library.


So there are 3 types of library / header in C++?

CRT (C runtime library)
Standard C++ Library
Platform SDK for Visual C++

where CRT is low level code like doing all the bit and bytes
where Platform SDK is high level code doing all those Web Service,
Security, Message Queue, UI / GUI, COM, HTTP / networking stuff?

any other must have / used alot kind of library for C++ that
programmer use alot besides the above 3 library?

>Yes, C++ is a very portable general purpose language that runs on
platforms ranging from super computers to embedded devices. Many of
these platforms and applications which run on them do not require
everything all the time, so it doesn''t make sense to stuff GUI,
networking, threading, etc. all into the standard library.


June Lee wrote:

[Please don''t top-post]

>
where CRT is low level code like doing all the bit and bytes
where Platform SDK is high level code doing all those Web Service,
Security, Message Queue, UI / GUI, COM, HTTP / networking stuff?

any other must have / used alot kind of library for C++ that
programmer use alot besides the above 3 library?

>Yes, C++ is a very portable general purpose language that runs on
platforms ranging from super computers to embedded devices. Many of
these platforms and applications which run on them do not require
everything all the time, so it doesn''t make sense to stuff GUI,
networking, threading, etc. all into the standard library.

So there are 3 types of library / header in C++?

CRT (C runtime library)
Standard C++ Library
Platform SDK for Visual C++

No, there''s the C++ standard library, which includes the C standard library.

Anything else is platform specific.

There are several cross-platform libraries that are in widespread use,
boot being one.

--
Ian Collins.


这篇关于标准C ++库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆