Absolute C++

Walter Savitch

  • 出版商: Addison Wesley
  • 出版日期: 2002-01-15
  • 售價: $1,029
  • 語言: 英文
  • 頁數: 912
  • 裝訂: Paperback
  • ISBN: 0201709279
  • ISBN-13: 9780201709278
  • 相關分類: C++ 程式語言
  • 無法訂購

買這商品的人也買了...

相關主題

商品描述

Absolute C++ , offers complete coverage of the C++ programming language. It provides all the tools necessary for experienced and novice programmers to master C++, including: thorough coverage of the Standard Template Library; complete and fully executable code throughout; sections highlighting programming tips and common pitfalls; and a logical order of coverage of C++ topics in order for students to better understand the language. This book is appropriate for introductory courses covering the C++ language, intermediate programming courses introducing C++ to students familiar with another language and will act as a total reference beyond a student's coursework.

Table of Contents

1. C++ Basics.

Introduction to C++.
Variables, Expressions, and Assignment Statements.
Console Input/Output.
Program Style.
Libraries and Namespaces.


2. Flow of Control.

Boolean Expressions.
Branching Mechanism.
Loops.


3. Function Basics.

Predefined Functions.
Programmer-Defined Functions.
Scope Rules.


4. Parameters and Overloading.

Parameters.
Overloading and Default Arguments.
Testing and Debugging Functions.


5. Arrays.

Introduction to Arrays.
Arrays in Functions.
Programming with Arrays.
Multidimensional Arrays.


6. Structures and Classes.

Structures.
Classes.


7. Constructors and Other Tools.

Constructors.
More Tools.
Vectors-A Preview of the Standard Template Library.


8. Operator Overloading, Friends, and References.

Basic Operator Overloading.
Friend Functions and Automatic Type Conversion.
References and More Overloaded Operators.


9. Strings.

An Array Type for Strings.
Character Manipulation Tools.
The Standard Class string.


10. Pointers and Dynamic Arrays.

Pointers.
Dynamic Arrays.
Classes, Pointers, and Dynamic Arrays.


11. Separate Compilation and Namespaces.

Separate Compilation.
Namespaces.


12. Streams and File I/O.

I/O Streams.
Tools for Stream.
Stream Hierarchies: A Preview of Inheritance.


13. Recursion.

Recursive Void Functions.
Recursive Functions that Return a Value.
Thinking Recursively.


14. Inheritance.

Inheritance Basics.
Programming with Inheritance.


15. Polymorphism and Virtual Functions.

Virtual Function Basics.
Pointers and Virtual Functions.


16. Templates.

Function Templates.
Class Templates.
Templates and Inheritance.


17. Linked Data Structures.

Nodes and Linked Lists.
Linked List Applications.
Iterators.
Trees.


18. Exception Handling.

Exception Handling Basics.
Programming Techniques for Exception Handling.


19. Standard Template Library.

Iterators.
Containers.
Generic Algorithms.


20. Patterns and UML.

Patterns.
UML.


Appendix 1: C++ Keywords.
Appendix 2: Precedence of Operators.
Appendix 3: The ASCII Character Set.
Appendix 4: Some Library Functions.
Appendix 5: Old and New Header Files.
Further Reading.
Index.