Accelerated C++: Practical Programming by Example (Paperback)(dhl)
Andrew Koenig, Barbara E. Moo
- 出版商: Addison Wesley
- 出版日期: 2000-08-14
- 售價: $1,810
- 貴賓價: 9.5 折 $1,720
- 語言: 英文
- 頁數: 352
- 裝訂: Paperback
- ISBN: 020170353X
- ISBN-13: 9780201703535
-
相關分類:
C++ 程式語言
立即出貨 (庫存=1)
買這商品的人也買了...
-
$600$570 -
$2,330$2,214 -
$580$464 -
$990$970 -
$920$782 -
$1,750$1,663 -
$590$466 -
$1,170$1,112 -
$750$638 -
$2,040$1,938 -
$680$578 -
$480$379 -
$1,880$1,786 -
$680$646 -
$880$695 -
$780$663 -
$650$507 -
$500$450 -
$990$891 -
$600$480 -
$820$697 -
$490$417 -
$450$351 -
$850$723 -
$750$675
商品描述
Description
Accelerated C++ introduces a radical new approach to teaching C++. It starts with the most useful concepts rather than the most primitive ones, so the student can begin writing programs immediately. It describes real problems and solutions, not just language features. And it includes the standard library from the start. The authors proved the effectiveness of this approach in their courses at Stanford and Princeton, where their students learned to write substantial programs their first day in the classroom.
Appropriate Courses
C++--Intermediate Programming.
Table Of Contents
Preface.
0. Getting Started.
#include.
The Main Function.
Curly Braces.
Using the Standard Library for Output.
The Return Statement.
A Slightly Deeper Look.
Details.
1. Working with Strings.
Framing a Name.
Details.
2. Looping and Counting.
Overall Structure.
Writing an Unknown Number of Rows.
Writing a Row.
The Complete Framing Program.
Counting.
Details.
3. Working with Batches of Data.
Using Medians Instead of Averages.
Details.
4.Organizing Programs and Data.
Organizing Data.
Putting it All Together.
Partitioning the Grading Program.
The Revised Grading Program.
Details.
5. Using Sequential Containers and Analyzing Strings.
Iterators.
Using Iterators Instead of Indices.
Rethinking Our Data Structure for Better Performance.
The List Type.
Taking Strings Apart.
Testing Our Split Function.
Putting Strings Together.
Details.
6. Using Library Algorithms.
Comparing Grading Schemes.
Classifying Students, Revisited.
Algorithms, Containers, and Iterators.
Details.
7. Using Associative Containers.
Counting Words.
Generating a Cross-Reference Table.
Generating Sentences.
A Note on Performance.
Details.
8. Writing Generic Functions.
Data-Structure Independence.
Input and Output Iterators.
Using Iterators for Flexibility.
Details.
9. Defining New Types.
Class Types.
Protection.
The Student_info class.
Constructors.
Using the Student_info class.
Details.
10. Managing Memory and Low-Level Data Structures.
String Literals Revisited.
Initializing Arrays of Character Pointers.
Arguments to Main.
Reading and Writing Files.
Three Kinds of Memory Management.
Details.
11. Defining Abstract Data Types.
Implementing the Vec Class.
Copy Control.
Dynamic Vecs.
Flexible Memory Management.
Details.
12. Making Class Objects Act Like Values.
Automatic Conversions.
Str Operations.
Some Conversions are Hazardous.
Conversion Operators.
Conversions and Memory Management.
Details.
13. Using Inheritance and Dynamic Binding.
Polymorphism and Virtual Functions.
Using Inheritance to Solve Our Problem.
A Simple Handle Class.
Using the Handle Class.
Subtleties.
Details.
14. Managing Memory (Almost) Automatically.
Reference-Counted Handles.
Handles that Let you Decide When to Share Data.
An Improvement on Controllable Handles.
Details.
15. Revisiting Character Pictures.
Implementation.
Details.
16. Where Do We Go From Here?
Learn More.
Appendix A. Language Details.
Types.
Expressions.
Statements.
Appendix B. Library Summary.
Containers and Iterators.
Algorithms.