Essential C++ (häftad)
Format
Häftad (Paperback)
Språk
Engelska
Antal sidor
304
Utgivningsdatum
1999-12-01
Upplaga
1
Förlag
ADDISON-WESLEY
Dimensioner
233 x 190 x 16 mm
Vikt
460 g
Antal komponenter
1
Komponenter
,
ISBN
9780201485189
Essential C++ (häftad)

Essential C++

Häftad Engelska, 1999-12-01
599
Skickas inom 3-6 vardagar.
Fri frakt inom Sverige för privatpersoner.
"Readers can pick up this book and become familiar with C++ in a short time. Stan has taken a very broad and complicated topic and reduced it to the essentials that budding C++ programmers need to know to write real programs. His case study is effective and provides a familiar thread throughout the book." --Steve Vinoski, IONA For the practicing programmer with little time to spare, Essential C++ offers a fast-track to learning and working with C++ on the job. This book is specifically designed to bring you up to speed in a short amount of time. It focuses on the elements of C++ programming that you are most likely to encounter and examines features and techniques that help solve real-world programming challenges.

Essential C++ presents the basics of C++ in the context of procedural, generic, object-based, and object-oriented programming. It is organized around a series of increasingly complex programming problems, and language features are introduced as solutions to these problems. In this way you will not only learn about the functions and structure of C++, but will understand their purpose and rationale.

You will find in-depth coverage of key topics such as:

  • Generic programming and the Standard Template Library (STL)
  • Object-based programming and class design
  • Object-oriented programming and the design of class hierarchies
  • Function and class template design and use
  • Exception handling and Run-Time Type Identification
In addition, an invaluable appendix provides complete solutions to, and detailed explanations of, the programming exercises found at the end of each chapter. A second appendix offers a quick reference handbook for the generic algorithms, providing an example of how each is used.

This concise tutorial will give you a working knowledge of C++ and a firm foundation on which to further your professional expertise.

0201485184B04062001
Visa hela texten

Passar bra ihop

  1. Essential C++
  2. +
  3. C++ Primer

De som köpt den här boken har ofta också köpt C++ Primer av Stanley B Lippman, Jose Lajoie, Barbara E Moo (häftad).

Köp båda 2 för 1198 kr

Kundrecensioner

Har du läst boken? Sätt ditt betyg »

Fler böcker av Stanley B Lippman

Bloggat om Essential C++

Övrig information

Stanley B. Lippman is Architect with the Visual C++ development team at Microsoft. Previously, he served as a Distinguished Consultant at the Jet Propulsion Laboratories (JPL). Stan spent more than twelve years at Bell Laboratories, where he worked with Bjarne Stroustrup on the original C++ implementation and the Foundation research project. After Bell Laboratories, Stan worked at Disney Feature Animation, originally as principal software engineer, then as software technical director on Fantasia 2000. 0

Innehållsförteckning



Preface.


Structure of This Book.


A Note on the Source Code.


Acknowledgments.


Where to Find More Information.


Typographical Conventions.


1. Basic C++ Programming.

How to Write a C++ Program.

Defining and Initializing a Data Object.

Writing Expressions.

Writing Conditional and Loop Statements.

How to Use Arrays and Vectors.

Pointers Allow for Flexibility.

Writing and Reading Files.



2. Procedural Programming.

How to Write a Function.

Invoking a Function.

Providing Default Parameter Values.

Using Local Static Objects.

Declaring a Function Inline.

Providing Overloaded Functions.

Defining and Using Template Functions.

Pointers to Functions Add Flexibility.

Setting Up a Header File.



3. Generic Programming.

The Arithmetic of Pointers.

Making Sense of Iterators.

Operations Common to All Containers.

Using the Sequential Containers.

Using the Generic Algorithms.

How to Design a Generic Algorithm.

Using a Map.

Using a Set.

How to Use Iterator Inserters.

Using the iostream Iterators.



4. Object-Based Programming.

How to Implement a Class.

What are Class Constructors and the Class Destructor?

What are mutable and const?

What is the this Pointer?

Static Class Members.

Building an Iterator Class.

Collaboration Sometimes Requires Friendship.

Implementing a Copy Assignment Operator.

Implementing a Function Object.

Providing Class Instances of the iostream Operators.

Pointers to Class Member Functions.



5. Object-Oriented Programming.

A Tour of Object-Oriented Programming.

Polymorphism without Inheritance.

Defining an Abstract Base Class.

Defining a Derived Class.

Using an Inheritance Hierarchy.

How Abstract Should a Base Class Be?

Initialization, Destruction, and Copy.

Defining a Derived Class Virtual Function.

Run-Time Type Identification.



6. Programming with Templates.

Parameterized Types.

The Template Class Definition.

Handling Template Type Parameters.

Implementing the Template Class.

A Function Template Output Operator.

Constant Expressions and Default Parameters.

Template Parameters as Strategy.

Member Template Functions.



7. Exception Ha...