C & C++ code capsules : a prescription for your software aliments (book/disk)

Author:

Language: Anglais
Cover of the book C & C++ code capsules : a prescription for your software aliments (book/disk)

Subject for C & C++ code capsules : a prescription for your software...

Approximative price 43.92 €

Subject to availability at the publisher.

Add to cartAdd to cart
Publication date:
350 p. · 23.5x17.8 cm · Paperback


Foreword, Bruce Eckel.


Preface.


C++: The Making of a Standard. An Interview with Bjarne Stroustrup.

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. <ctype.h>. <stdio.h>. <stdlib.h>. <string.h>.

5. The Standard C Library, Part II.

For the Polished Programmer. <assert.h>. <limits.h>. <stddef.h>. <time.h>. Appendix 5.1: Character Sets. Code Pages. Character Set Standards. ISO 10646. Unicode.

6. The Standard C Library, Part III.

For the Complete Programmer. <float.h>. <math.h>. <errno.h>. <locale.h>. <setjmp.h>. <signal.h>. <stdarg.h>. va_list's As Arguments. An Application. Conclusion. Appendix 6.1: Floating-point Number Systems.

II. Key Concepts.

7. Abstraction.

Data Abstraction. Operator Overloading. Concrete Data Types. Type Abstraction. Function Abstraction. Summary.

8. Templates.

Generic Programming. Function Templates. Class Templates. Template Parameters. Template Specialization. Summary.

9. Bit Manipulation.

Bitwise Operators. Accessing Individual Bits. Large Bitsets. Bit Strings. Wish List. The bitset Template. The vector<bool> Template Specialization. Summary.

10. Conversions and Casts.

Integral Promotion. Demotions. Arithmetic Conversions. Function Prototypes. Explicit Conversions. Function-style Casts. Const Correctness. User-Defined Conversions. Beefing up operator[]. New-Style Casts. Summary.

11. Visibility.

What's In a Name? Scope. Minimal Scoping. Class Scope. Nested Classes. Local Classes. Classic Namespaces. Namespace Scope. Lifetime. Lifetime of Temporaries. Linkage. Type-safe Linkage. "Language" Linkage. Summary.

12. Control Structures.

Structured Programming. Branching. Nonlocal Branching. Signals. Summary. References.

13. Exceptions.

Error Handling Alternatives. Stack Unwinding. Catching Exceptions. Standard Exceptions. Resource Management. Constructors and Exceptions. Memory Management. Exception Specifications. An Error-Handling Strategy. Summary.

14. Object-oriented Programming.

Inheritance. Heterogeneous Collections. Virtual Functions and Polymorphism. Abstract Base Classes. Case Study: A Framework for Object Persistence. Database Access. Mapping Objects to Relational Schema. PFX Architec