《Accelerated C++中文版》简介:

《Accelerated C++中文版》给人的印象会如此深刻呢?这是因为:

  ●它一开始就向读者教导那些最有用的概念,而不是那些简单的注释 读者很快就能够以此开始编程

  ●它描述的是现实中的问题和解决方案,而不是单纯的语言特性 读者不但学习到了这些特性,而且还知道如何把它们应用到程序中去

  ●它涵盖的范围同时包括了语言本身和标准库 读者可以从一开始就使用标准库来编写自己的程序

  作者通过他们在美国斯坦福大学的教学经验证明了这种方法的有效性—在那里,学生们在他们的第一堂课中就学习到了如何编写真实的程序。

  不管你是一个渴望开始学习C++编程的新手,还是一个已经使用C++多年并对它有了很深了解的老手,作者们独特的教学方法和经验都使得《Accelerated C++中文版》应该成为你书架中不可缺少的一个补充。

《Accelerated C++中文版》摘录:

wchar_t Built-in type intended to hold "wide characters," which are big enough to hold characters for languages such as Japanese. Variables defined inside a pair of curly braces are local variables/which exist only while executing the part of the program within the braces. When the implementation reaches the }, it destroys the variables, and returns any memory that they occupied to the system. Defining a variable as const promises that the variable's value, will not change during its lifetime. Such a variable must be initialized as part of its definition, because there is no way to do so later. It is usually not worth the bother to use const references for parameters of simple built-in types, such as int or double. Such small objects are usually fast enough to copy that there's little...