Skip to Content
C++语言导学(原书第2版)
book

C++语言导学(原书第2版)

by 本贾尼 斯特劳斯特鲁普
August 2021
Intermediate to advanced
450 pages
5h 35m
Chinese
Pearson
Content preview from C++语言导学(原书第2版)

16.1 历史

我发明了C++,制定了最初的定义,并完成了第一个实现。我选择并制定了C++的设计标准,设计了主要的语言特性,开发或帮助开发了早期标准库中的很多内容,并且25年来一直在C++标准委员会中负责处理扩展提案。

C++的设计目的是,为程序组织提供Simula的特性[Dahl,1970],同时为系统程序设计提供C的效率和灵活性[Kernighan,1978]。Simula是C++抽象机制的最初来源。类的概念(以及派生类和虚函数的概念)也是从Simula借鉴而来的。不过,模板和异常则是稍晚从别处得到灵感而引入C++的。

讨论C++的演化,总是要针对它的使用来谈。我花了大量时间倾听用户的意见,搜集有经验的程序员的观点。特别是,我在AT&T贝尔实验室的同事在C++的第一个十年中对其成长贡献了重要力量。

本节是一个简单概览,不会试图讨论每个语言特性和库组件,而且也不会深入细节。更多的信息,特别是更多贡献者的名字,请查阅我在“ACM程序设计语言历史”大会上发表的两篇论文[Stroustrup,1993][Stroustrup,2007]和我的《Design and Evolution of C++》《C++语言的设计和演化》一书(人们熟知的“D&E”)[Stroustrup,1994]。这些资料介绍了C++的设计和演化,记录了C++从其他程序设计语言受到的影响。

一些文档是作为ISO C++标准工作的一部分而编写的,其中大部分都可以在网上找到[WG21]。在我的常见问题解答(FAQ)中,我设法维护标准库设施与其提出者和改进者之间的关联[Stroustrup,2010]。C++并非一个不露面的匿名委员会或是一个想象中的万能的“终身独裁者”的作品,而是千万名甘于奉献的、有经验的、辛勤工作的人的劳动结晶。 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

软件开发实践:项目驱动式的Java开发指南

软件开发实践:项目驱动式的Java开发指南

Raoul-Gabriel Urma, Richard Warburton
管理Kubernetes

管理Kubernetes

Brendan Burns, Craig Tracey
Python机器学习案例精解

Python机器学习案例精解

Posts & Telecom Press, Yuxi (Hayden) Liu

Publisher Resources

ISBN: 9787111633280