[翻译] Effective C++, 3rd Edition, Chapter 1. 习惯于 C++

    技术2022-05-11  153

    Chapter 1. 习惯于 C++

    作者:Scott Meyers

    译者:fatalerror99 (iTePub's Nirvana)

    发布:http://blog.csdn.net/fatalerror99/

    无论你的编程背景如何,对于 C++ 可能多少有些不习惯。这是一个有着极其丰富特性的威力强大的语言。但是在你能发挥它的威力并有效地使用这些特性之前,你必须使自己习惯于以 C++ 的方式做事。这本书讲的就是如何做到这一点,其中一些内容比其它内容更加基础,本章就讲述这些最基本的内容。

     

    本章包括以下内容,点击打开:

    Item 1: View C++ as a federation of languages Item 2: Prefer consts, enums, and inlines to #defines Item 3: Use const whenever possible Item 4: Make sure that objects are initialized before they're used

    最新回复(0)