Skip to content

C and C++ Code Capsules A Guide for Practitioners

Best in textbook rentals since 2012!

ISBN-10: 0135917859

ISBN-13: 9780135917855

Edition: 1998

Authors: Chuck D. Allison

List price: $43.95
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

Description:

This book shares the hard-won wisdom of a highly-successful C++/C programmer - along with a large collection of ANSI-compliant programs that illustrate the true power of C++.This book includes a wide variety of ideas, tips and techniques for programmers of all skill levels. It presents little-known facts about pointers and the preprocessor that are a must for the professional developer. It offers tips and techniques for more effective use of abstraction, templates, bit manipulation, visibility, control structures and exceptions. The book also shows how to make the most of the Standard C and Standard C++ libraries, covering containers and iterators; algorithms; text and file processing; time…    
Customers also bought

Book details

List price: $43.95
Copyright year: 1998
Publisher: Prentice Hall PTR
Publication date: 12/11/1997
Binding: Paperback
Pages: 592
Size: 7.00" wide x 9.25" long x 0.75" tall
Weight: 1.848
Language: English

Foreword
Preface
C++: The Making of a Standard
An Interview with Bjarne Stroustrup
I. Preliminaries
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
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
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
The Standard C Library
For the Adequate Programmer. <ctype.h>. <stdio.h>. <stdlib.h>. <string.h>
The Standard C Library
For the Polished Programmer. <assert.h>. <limits.h>. <stddef.h>. <time.h>
Appendix
Character Sets
Code Pages
Character Set Standards
ISO 10646
Unicode
The Standard C Library
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
Floating-point Number Systems
Key Concepts
Abstraction
Data Abstraction
Operator Overloading
Concrete Data Types
Type Abstraction
Function Abstraction
Summary
Templates
Generic Programming
Function Templates
Class Templates
Template Parameters
Template Specialization
Summary
Bit Manipulation
Bitwise Operators
Accessing Individual Bits
Large Bitsets
Bit Strings
Wish List
The bitset Template
The vector<bool> Template Specialization
Summary
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
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
Control Structures