Cart
Free Shipping in Australia
Proud to be B-Corp

C++ for C Programmers Ira Pohl

C++ for C Programmers By Ira Pohl

C++ for C Programmers by Ira Pohl


$17.19
Condition - Very Good
Only 1 left

Summary

This second edition has been updated throughout to reflect the features of the ANSI standard C++, including templates and exception handling. The book uses the author's trademark dissection technique to explain programming elements and idioms. It includes exercises within the examples.

C++ for C Programmers Summary

C++ for C Programmers by Ira Pohl

Making the move to C++ is easy and fast with this concise, on-target book by C/C++ expert Ira Pohl. By building on the programmer's knowledge of C, the book delivers a seamless transition to C++. Extensive exercises and frequent language comparisons teach concepts quickly and introduce the language's powerful object-oriented features. In addition, Pohl's trademark dissection technique illustrates the underlying structure of programs and helps readers understand design tradeoffs. Based on the proposed ANSI C++ standard, the book covers the latest language features including detailed discussions of templates and exception handling.

About Ira Pohl

Ira Pohl is a Professor of Computer Science at the University of California, Santa Cruz and holds a Ph.D. in Computer Science from Stanford University. His research interests include artificial intelligence, the C and C++ programming languages, practical complexity problems, heuristic search methods, deductive algorithms, and educational and social issues. He originated error analysis in heuristic search methods and deductive algorithms.

Professor Pohl was formerly a Mackay professor at University of California- Berkeley and a ZWO fellow in the Netherlands. He is the author or co-author of Object-Oriented Programming Using C++, C++ Distilled: A Concise Ansi/Iso Reference and Style Guide, C by Dissection: The Essentials of C Programming, A Book on C: Programming in C, C++ for C Programmers, C++ for Fortran Programmers, C++ for Pascal Programmers, and Turbo C: The Essentials of C Programming, all published by Addison-Wesley.

080533159XAB04062001

Table of Contents

(Each chapter concludes with Summary and Exercises.)

Object-Oriented Programming In C++.

Object-Oriented Programming.

Why C++ Is A Better C.

Why Switch To C++?

References.

An Overview Of C++ And Object-Oriented Programming.

Output.

Input.

Function Prototypes.

Classes And Abstract Data Types.

Overloading.

Constructors And Destructors.

Object-Oriented Programming And Inheritance.

Polymorphism.

Templates.

Exceptions.

Benefits Of Object-Oriented Programming.



C++ As A Better C.

Comment Style.

Avoiding The Preprocessor: Inline And Const.

Declarations.

The Uses Of Void.

Scope Resolution Operator.

Function Prototypes.

Reference Declarations And Call-By-Reference.

Default Arguments.

Overloading Functions.

Free Store Operations New And Delete.

Odds And Ends.

Pragmatics.



Classes.

The Aggregate Type: Struct.

Structure Pointer Operator.

An Example: Stack.

Member Functions.

Access: Private And Public.

Classes.

Static Member.

Class Scope.

An Example: Flushing.

Pragmatics.



Constructors And Destructors.

Classes With Constructors.

Constructing A Dynamically Sized Stack.

Classes With Destructors.

The This Pointer.

Static And Const Member Functions.

An Example: Dynamically Allocated Strings.

A Class Vect.

Members That Are Class Types.

An Example: A Singly Linked List.

Two-Dimensional Arrays.

Strings Using References Semantics.

No Constructor, Copy Constructor, And Other Mysteries.

Pragmatics.



Operator Overloading And Conversions.

The Traditional Conversions.

Adt Conversions.

Overloading And Function Selection.

Friend Functions.

Overloading Operators.

Unary Operator Overloading.

Binary Operator Overloading.

Overloading Assignment And Subscripting Operators.

Signature Matching.

Pragmatics.



Inheritance.

A Derived Class.

Typing Conversions And Visibility.

Code Reuse: Dynamic Array Bounds.

Code Reuse: A Binary Tree Class.

Virtual Functions.

Abstract Base Classes.

Multiple Inheritance.

Detailed C++ Considerations.

Pragmatics.



Templates.

Template Class Stack.

Function Templates.

Class Templates.

Parameterizing The Class Vect .

Paramaterized Binary Search Tree.

Inheritance.

Pragmatics.



Exceptions.

Using Assert.H .

C++ Exceptions.

Try Blocks.

Handlers.

Exception Specification.

Terminate () And Unexpected ()

Example Exception Code.

Pragmatics.



Oop Using C++.

Oop Language Requirements.

Adts In Non-Oop Languages.

Clients And Manufacturers.

Reuse And Inheritance.

Polymorphism.

Language Complexity.

C++ Oop Bandwagon.

Platonism: Tabula Rasa Design.

Design Principles.

Last Words.



Appendix A. Ascii Character Codes.


Appendix B. Operator Precedence And Associativity.


Appendix C. C++ Language Guide.

Lexical Elements.

Constants.

Declarations And Scope Rules.

Linkage Rules.

Types.

Conversion Rules.

Expressions And Operators.

Statements.

Classes.

Functions.

Templates.

Exceptions.

Caution And Complexity.

Style Examples And Pragmatics.



Appendix D. Input/Output.

The Output Class Ostream.

Formatted Output And Iomanip.H.

User-Defined Types: Output.

The Input Class Istream.

Files And Fstream.H.

The Functions And Macros In Ctype.H.

Using Stream States.

Mixing I/O Libraries. 080533159XT04062001

Additional information

GOR004274124
9780805331592
080533159X
C++ for C Programmers by Ira Pohl
Used - Very Good
Paperback
Pearson Education (US)
19931118
384
N/A
Book picture is for illustrative purposes only, actual binding, cover or edition may vary.
This is a used book - there is no escaping the fact it has been read by someone else and it will show signs of wear and previous use. Overall we expect it to be in very good condition, but if you are not entirely satisfied please get in touch with us

Customer Reviews - C++ for C Programmers