码迷,mamicode.com
首页 > 编程语言 > 详细

《C++语言导学》小记

时间:2020-01-21 23:13:46      阅读:75      评论:0      收藏:0      [点我收藏+]

标签:lib   nal   rate   site   现在   sep   ted   c++11   内容   

我看的这本是Bjarne Stroustrup写的,南开大学的杨巨峰和王刚译的。这本书不适合初学者看,我就是大概翻了翻其中感兴趣的章节。

这本书第14章的标题是“历史和兼容性”,这节内容我看了收获很深。p144-145的内容值得去看。

从中可以看出,ISO C和ISO C++是K&R C [Kernighan, 1978] 的两个主要后代,因此它们是兄弟。两者发展过程中都从经典C继承了关键特性,但又不都是100%兼容经典C。

《C++语言导学》p144

2011年,C++11和C11相继推出。我认为要是现在开始学习C/C++的话,可以直接从标准11开始。

What is the purpose of this site?

Our goal is to provide programmers with a complete online reference for the C and C++ languages and standard libraries, i.e. a more convenient version of the C and C++ standards.

The primary objective is to have a good specification of C and C++. That is, things that are implicitly clear to an experienced programmer should be omitted, or at least separated from the main description of a function, constant or class. A good place to demonstrate various use cases is the "example" section of each page. Rationale, implementation notes, domain specific documentation are preferred to be included in the "notes" section of each page. 

https://en.cppreference.com/w/Cppreference:FAQ

上面引用的一段话我是想说,平时可以上这个网站翻翻文档看。如果想了解C/C++语言的历史,上面这个网站里有很完整的介绍。

2020-01-21

《C++语言导学》小记

标签:lib   nal   rate   site   现在   sep   ted   c++11   内容   

原文地址:https://www.cnblogs.com/from2020y/p/12227174.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!