C++ For C Programmers, Third Edition
Home > Computing and Information Technology > Computer programming / software engineering > Programming and scripting languages: general > C++ For C Programmers, Third Edition
C++ For C Programmers, Third Edition

C++ For C Programmers, Third Edition

|
     0     
5
4
3
2
1




Out of Stock


Notify me when this book is in stock
About the Book

Extensively revised and updated, this proven book by noted C++/C expert Ira Pohl is written specifically for C programmers who are transitioning to C++. The book takes an evolutionary teaching approach, using C as a starting point and C++ as a destination. This third edition reflects the new ANSI C++ Standard, and covers the latest language features — including detailed discussions of templates, STL, and exception handling.

Table of Contents:
(Each chapter concludes with a Summary, Review Questions and Exercises.) Preface. 1. An Overview of C++ and Object-Oriented Programming. Object-Oriented Programming. Why Learn C++? C as a Starting Point. Classes and Abstract Data Types. Constructors and Destructors. Overloading. Dissection of the Operator+() Function. Inheritance. Moving from C++ to Java. Dissection of the improved Program. Benefits of Object-Oriented Programming. Pragmatics. 2. Native Types and Statements. Program Elements. Comments. Keywords. Identifiers. Literals. Operators and Punctuators. Input/Output. Program Structure. Simple Types. Initialization. The Traditional Conversions. Enumeration Types. Typedef Declarations. Expressions. Statements. Assignment and Expressions. The Compound Statement. The if and if-else Statements. The while Statement. The for Statement. The do Statement. The break and continue Statements. The switch Statement. The goto Statement. Pragmatics. Moving from C++ to Java. Dissection of the Moon Program. 3. Functions, Pointers, and Arrays. Functions. Function Invocation. Function Definition. The return Statement. Function Prototypes. Recursion. Default Arguments. Functions as Arguments. Overloading Functions. Inlining. Scope and Storage Class. The Storage Class auto. The Storage Class extern. The Storage Class register. The Storage Class static. Linkage Mysteries. Namespaces. Pointer Types. Addressing and Dereferencing. Pointer-Based Call-by-Reference. Dissection of the order() Function. Reference Declarations and Call-by-Reference. The Uses of void. Arrays and Pointers. Subscripting. Initialization. The Relationship Between Arrays and Pointers. Passing Arrays to Functions. The char String: A Kernel Language ADT. Multidimensional Arrays. Assertions and Program Correctness. Free-Store Operators new and delete. Dissection of the dynarray Program. Pragmatics. Vector Instead of Array. String Instead of char. Moving from C++ to Java. Dissection of the Sum Array Program. 4. Classes. The Aggregate Type Struct and class. Structure Pointer Operator. Member Functions. Access: Private and Public. Classes. Class Scope. Scope Resolution Operator. Nested Classes. An Example: Flushing. static and const Members. Dissection of the salary Program. Mutable Members. The this Pointer. Unions. Bit Fields. A Container Class Example: ch_stack. Pragmatics. Moving from C++ to Java. 5. Constructors and Destructors. Classes with Constructors. The Default Constructor. Constructor Initializer. Constructors as Conversions. Improving the point Class. Constructing a Dynamically Sized Stack. The Copy Constructor. Classes with Destructors. An Example: Dynamically Allocated Strings. Dissection of the my_string Class. The Class dbl_vect. dbl_vect as a Linear Vector Type. Members That Are Class Types. Example: A Singly Linked List. Dissection of the print() and release() Functions. Two-Dimensional Arrays. Polynomials as a Linked List. Strings Using Reference Semantics. No Constructor, Copy Constructor, and Other Mysteries. Destructor Details. Pragmatics. Moving from C++ to Java. 6. Operator Overloading and Conversions. ADT Conversions. Overloading and Function Selection. Dissection of the rational Program. Friend Functions. Overloading Operators. Unary Operator Overloading. Binary Operator Overloading. Overloading Assignment and Subscripting Operators. Dissection of dbl_vect::operator=() Function. Polynomial: Type and Language Expectations. Overloading I/O Operators << and >>. Overloading Operator () for Indexing. Dissection of the Class matrix. Overloading the Pointer Operator ->. Overloading new and delete. Pragmatics. Signature Matching. Moving from C++ to Java. 7. Templates, Generic Programming, and STL. Template Class stack. Function Templates. Signature Matching and Overloading. Class Templates. Friends. Static Members. Class Template Arguments. Default Template Arguments. Member Templates. Parameterizing the Class vector. STL. STL Example Code. Containers. Sequence Containers. Dissection of the stl_vect Program. Associative Containers. Container Adapters. Iterators. The istream_iterator and ostream_iterator. Iterator Adapters. Algorithms. Sorting Algorithms. Nonmutating Sequence Algorithms. Mutating Sequence Algorithms. Numerical Algorithms. Numerical Integration Made Easy. Pragmatics. Moving from C++ to Java. 8. Inheritance. A Derived Class. Typing Conversions and Visibility. Virtual Functions. Abstract Base Classes. Templates and Inheritance. Multiple Inheritance. Inheritance and Design. Subtyping Form. Code Reuse. Runtime Type Identification. Pragmatics. Moving from C++ to Java. 9. Exceptions. Using the assert Library. C++ Exceptions. Throwing Exceptions. Rethrown Exceptions. Exception Expressions. Try Blocks. Handlers. Exception Specification. Terminate() and Unexpected(). Example Exception Code. Standard Exceptions and Their Uses. Pragmatics. Moving from C++ to Java. 10. OOP Using C++. OOP Language Requirements. ADTs: Encapsulation and Data Hiding. Reuse and Inheritance. Polymorphism. OOP: The Dominant Programming Methodology. Designing with OOP in Mind. Class-Responsibility-Collaborator. Design Patterns. Moving from C++ to Java. Appendix A: ASCII Character Codes. Appendix B: Operator Precedence and Associativity. Appendix C: Language Guide. Program Structure. Lexical Elements. Comments. Identifiers. Keywords. Constants. Declarations and Scope Rules. Namespaces. Linkage Rules. Types. Conversion Rules and Casts. Expressions and Operators. sizeof Expressions. Autoincrement and Autodecrement Expressions. Arithmetic Expressions. Relational, Equality, and Logical Expressions. Assignment Expressions. Comma Expressions. Conditional Expressions. Bit-Manipulation Expressions. Address and Indirection Expressions. new and delete Expressions. Other Expressions. Statements. Expression Statements. The Compound Statement. The if and if-else Statements. The while Statement. The for Statement. The do Statement. The Break and Continue Statements. The switch Statement. The go to Statement. The return Statement. The Declaration Statement. Functions. Prototypes. Call-by-Reference. Inline Functions. Default Arguments. Overloading. Type-Safe Linkage for Functions. Classes. Constructors and Destructors. Member Functions. Friend Functions. The this Pointer. Operator Overloading. static and const Member Functions. Mutable. Inheritance. Multiple Inheritance. Constructor Invocation. Abstract Base Classes. Pointer to Class Member. Runtime Type Identification. Virtual Functions. Templates. Template Parameters. Function Template. Friends. Static Members. Specialization. Exceptions. Throwing Exceptions. Try Blocks. Handlers. Exception Specification. Terminate() and Unexpected(). Standard Library Exceptions. Caution and Compatibility. Nested Class Declarations. Type Compatibilities. Miscellaneous. New Features in C++. Appendix D: Input/Output. The Output Class ostream. Formatted Output and iomanip. User-Defined Types: Output. The Input Class istream. Files. Using Strings as Streams. The Functions and Macros in ctype. Using Stream States. Mixing I/O Libraries. Appendix E: STL and String Libraries. Containers. Sequence Containers. Associative Containers. Container Adapters. Iterators. Iterator Categories. Iterator Adapters. Algorithms. Sorting Algorithms. Nonmutating Sequence Algorithms. Mutating Sequence Algorithms. Numerical Algorithms. Functions. Function Adapters. Allocators. String Library. Constructors. Member Functions. Global Operators. References. Index. 0201395193T04062001


Best Sellers


Product Details
  • ISBN-13: 9780201395198
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison Wesley
  • Height: 255 mm
  • No of Pages: 504
  • Weight: 862 gr
  • ISBN-10: 0201395193
  • Publisher Date: 04 Feb 1999
  • Binding: Paperback
  • Language: English
  • Spine Width: 30 mm
  • Width: 175 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
C++ For C Programmers, Third Edition
Pearson Education (US) -
C++ For C Programmers, Third Edition
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

C++ For C Programmers, Third Edition

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!