C++ for C programmers
Author(s)
Bibliographic Information
C++ for C programmers
Benjamin/Cummings Pub. Co., c1994
2nd ed
- Other Title
-
C plus plus for C programmers
Available at 7 libraries
  Aomori
  Iwate
  Miyagi
  Akita
  Yamagata
  Fukushima
  Ibaraki
  Tochigi
  Gunma
  Saitama
  Chiba
  Tokyo
  Kanagawa
  Niigata
  Toyama
  Ishikawa
  Fukui
  Yamanashi
  Nagano
  Gifu
  Shizuoka
  Aichi
  Mie
  Shiga
  Kyoto
  Osaka
  Hyogo
  Nara
  Wakayama
  Tottori
  Shimane
  Okayama
  Hiroshima
  Yamaguchi
  Tokushima
  Kagawa
  Ehime
  Kochi
  Fukuoka
  Saga
  Nagasaki
  Kumamoto
  Oita
  Miyazaki
  Kagoshima
  Okinawa
  Korea
  China
  Thailand
  United Kingdom
  Germany
  Switzerland
  France
  Belgium
  Netherlands
  Sweden
  Norway
  United States of America
Note
Includes index
Description and Table of Contents
Description
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.
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
by "Nielsen BookData"