C++ for C programmers

書誌事項

C++ for C programmers

Ira Pohl

Benjamin/Cummings Pub. Co., c1994

2nd ed

タイトル別名

C plus plus for C programmers

大学図書館所蔵 件 / 7

この図書・雑誌をさがす

注記

Includes index

内容説明・目次

内容説明

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.

目次

(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

「Nielsen BookData」 より

詳細情報

  • NII書誌ID(NCID)
    BA23523103
  • ISBN
    • 080533159X
  • LCCN
    93030685
  • 出版国コード
    us
  • タイトル言語コード
    eng
  • 本文言語コード
    eng
  • 出版地
    Redwood City, Calif.
  • ページ数/冊数
    xiii, 370 p.
  • 大きさ
    24 cm
  • 分類
  • 件名
ページトップへ