第一图书网

C和C++代码锦囊

Chuck Allison 科学出版社
出版时间:

2004-1  

出版社:

科学出版社  

作者:

Chuck Allison  

页数:

570  

字数:

588000  

Tag标签:

无  

内容概要

本书指导读者如何充分利用标准C和C++库,其涵盖容器、迭代器、算法、文本与文件处理、时间与日期处理以及内存管理等内容。同时本书提供了非常实用的有关抽象、模板、二进制处理、可见度、控制结构和异常处理的使用技巧。 本书还提供了C和C++的大量编程范例,对于进行实用开发的人员具有很大的借鉴和指导意义。各类读者均能从中获得裨益,提高C/C++的编程水平。

书籍目录

Foreword Bruce Eckel Preface C++: The Making of a Standard An Interview with Bjarne Stroustrup Part I Preliminaries 1 A Better C A Tale Of Two Languages Incremental Journey The Type System Function Prototypes Type-safe Linkage References Type-safe I/O Standard Streams Formatting Manipulators Function Overloading and Function Templates Operator Overloading Inline Functions Default Arguments new and delete Statement Declarations Standard Library Features C Compatibility Summary 2 Pointers Programming on the Edge The Basics Pointer Arithmetic Pass-By-Reference Semantics Generic Pointers const Pointers Pointers and One-Dimensional Arrays Arrays as Parameters Arrays of Strings Pointers and Multidimensional Arrays Higher and Deeper Pointers to Functions Pointers to Member Functions Encapsulation and Incomplete Types Summary 3 The Preprocessor The #include Directive Other Preprocessor Directives Predefined Macros Conditional Compilation Preprocessing Operators Implementing assert Macro Magic Character Sets, Trigraphs, and Digraphs Phases of Translation Summary 4 The Standard C Library, Part I For the Adequate Programmer 5 The Standard C Library, Part II 6 The Standard C Library, Part III 7 Abstraction 8 Templates 9 Bit Manipulation 10 Conversions and Casts 11 Visibility 12 Control Structures 13 Exceptions 14 Object-oriented Programming 15 Algorithms 16 Containers and Iterators 17 Text Processing 18 File Processing 19 Time and Date Processing 20 Dynamic Memory Management Appendices A C/C++ Compatibility B Standard C++ Algorithms C Function Objects and Adapters Function Objects Function Object Adapters D Annotated Bibliography The C Practitioner's Booklist The C++ Practitioner's Booklist Index


图书封面

图书标签Tags

广告

下载页面


C和C++代码锦囊 PDF格式下载



相关图书