Description

Book Synopsis

Andrew Koenig is a member of the Large-Scale Programming Research Department at AT&T's Shannon Laboratory, and the Project Editor of the C++ standards committee. A programmer for more than 30 years, 15 of them in C++, he has published more than 150 articles about C++, and speaks on the topic worldwide.

Barbara E. Moo is an independent consultant with 20 years' experience in the software field. During her nearly 15 years at AT&T, she worked on one of the first commercial products ever written in C++, managed the company's first C++ compiler project, and directed the development of AT&T's award-winning WorldNet Internet service business.



0



Table of Contents


Preface.


0. Getting Started.

Comments.

#include.

The Main Function.

Curly Braces.

Using the Standard Library for Output.

The Return Statement.

A Slightly Deeper Look.

Details.



1. Working with Strings.

Input.

Framing a Name.

Details.



2. Looping and Counting.

The Problem.

Overall Structure.

Writing an Unknown Number of Rows.

Writing a Row.

The Complete Framing Program.

Counting.

Details.



3. Working with Batches of Data.

Computing Student Grades.

Using Medians Instead of Averages.

Details.



4.Organizing Programs and Data.

Organizing computations.

Organizing Data.

Putting it All Together.

Partitioning the Grading Program.

The Revised Grading Program.

Details.



5. Using Sequential Containers and Analyzing Strings.

Separating Students into Categories.

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.

Analyzing Strings.

Comparing Grading Schemes.

Classifying Students, Revisited.

Algorithms, Containers, and Iterators.

Details.



7. Using Associative Containers.

Containers that Support Efficient Look-Up.

Counting Words.

Generating a Cross-Reference Table.

Generating Sentences.

A Note on Performance.

Details.



8. Writing Generic Functions.

What is a Generic Function?

Data-Structure Independence.

Input and Output Iterators.

Using Iterators for Flexibility.

Details.



9. Defining New Types.

Student_info revisited.

Class Types.

Protection.

The Student_info class.

Constructors.

Using the Student_info class.

Details.



10. Managing Memory and Low-Level Data Structures.

Pointers and Arrays.

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.

The Vec Class.

Implementing the Vec Class.

Copy Control.

Dynamic Vecs.

Flexible Memory Management.

Details.



12. Making Class Objects Act Like Values.

A Simple String Class.

Automatic Conversions.

Str Operations.

Some Conversions are Hazardous.

Conversion Operators.

Conversions and Memory Management.

Details.



13. Using Inheritance and Dynamic Binding.

Inheritance.

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.

Handles that Copy their Objects.

Reference-Counted Handles.

Handles that Let you Decide When to Share Data.

An Improvement on Controllable Handles.

Details.



15. Revisiting Character Pictures.

Design.

Implementation.

Details.



16. Where Do We Go From Here?

Use the Abstractions You Have.

Learn More.



Appendix A. Language Details.

Declarations.

Types.

Expressions.

Statements.



Appendix B. Library Summary.

Input-Output.

Containers and Iterators.

Algorithms.



Index. 020170353XT04062001

Accelerated C

Product form

£35.14

Includes FREE delivery

RRP £36.99 – you save £1.85 (5%)

Order before 4pm tomorrow for delivery by Sat 17 Jan 2026.

A Paperback / softback by Mike Hendrickson, Andrew Koenig, Barbara Moo

Out of stock


    View other formats and editions of Accelerated C by Mike Hendrickson

    Publisher: Pearson Education (US)
    Publication Date: 15/09/2000
    ISBN13: 9780201703535, 978-0201703535
    ISBN10: 020170353X

    Description

    Book Synopsis

    Andrew Koenig is a member of the Large-Scale Programming Research Department at AT&T's Shannon Laboratory, and the Project Editor of the C++ standards committee. A programmer for more than 30 years, 15 of them in C++, he has published more than 150 articles about C++, and speaks on the topic worldwide.

    Barbara E. Moo is an independent consultant with 20 years' experience in the software field. During her nearly 15 years at AT&T, she worked on one of the first commercial products ever written in C++, managed the company's first C++ compiler project, and directed the development of AT&T's award-winning WorldNet Internet service business.



    0



    Table of Contents


    Preface.


    0. Getting Started.

    Comments.

    #include.

    The Main Function.

    Curly Braces.

    Using the Standard Library for Output.

    The Return Statement.

    A Slightly Deeper Look.

    Details.



    1. Working with Strings.

    Input.

    Framing a Name.

    Details.



    2. Looping and Counting.

    The Problem.

    Overall Structure.

    Writing an Unknown Number of Rows.

    Writing a Row.

    The Complete Framing Program.

    Counting.

    Details.



    3. Working with Batches of Data.

    Computing Student Grades.

    Using Medians Instead of Averages.

    Details.



    4.Organizing Programs and Data.

    Organizing computations.

    Organizing Data.

    Putting it All Together.

    Partitioning the Grading Program.

    The Revised Grading Program.

    Details.



    5. Using Sequential Containers and Analyzing Strings.

    Separating Students into Categories.

    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.

    Analyzing Strings.

    Comparing Grading Schemes.

    Classifying Students, Revisited.

    Algorithms, Containers, and Iterators.

    Details.



    7. Using Associative Containers.

    Containers that Support Efficient Look-Up.

    Counting Words.

    Generating a Cross-Reference Table.

    Generating Sentences.

    A Note on Performance.

    Details.



    8. Writing Generic Functions.

    What is a Generic Function?

    Data-Structure Independence.

    Input and Output Iterators.

    Using Iterators for Flexibility.

    Details.



    9. Defining New Types.

    Student_info revisited.

    Class Types.

    Protection.

    The Student_info class.

    Constructors.

    Using the Student_info class.

    Details.



    10. Managing Memory and Low-Level Data Structures.

    Pointers and Arrays.

    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.

    The Vec Class.

    Implementing the Vec Class.

    Copy Control.

    Dynamic Vecs.

    Flexible Memory Management.

    Details.



    12. Making Class Objects Act Like Values.

    A Simple String Class.

    Automatic Conversions.

    Str Operations.

    Some Conversions are Hazardous.

    Conversion Operators.

    Conversions and Memory Management.

    Details.



    13. Using Inheritance and Dynamic Binding.

    Inheritance.

    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.

    Handles that Copy their Objects.

    Reference-Counted Handles.

    Handles that Let you Decide When to Share Data.

    An Improvement on Controllable Handles.

    Details.



    15. Revisiting Character Pictures.

    Design.

    Implementation.

    Details.



    16. Where Do We Go From Here?

    Use the Abstractions You Have.

    Learn More.



    Appendix A. Language Details.

    Declarations.

    Types.

    Expressions.

    Statements.



    Appendix B. Library Summary.

    Input-Output.

    Containers and Iterators.

    Algorithms.



    Index. 020170353XT04062001

    Recently viewed products

    © 2026 Book Curl

      • American Express
      • Apple Pay
      • Diners Club
      • Discover
      • Google Pay
      • Maestro
      • Mastercard
      • PayPal
      • Shop Pay
      • Union Pay
      • Visa

      Login

      Forgot your password?

      Don't have an account yet?
      Create account