C++ Primer

C++ Primer

          
5
4
3
2
1

Out of Stock


Premium quality
Premium quality
Bookswagon upholds the quality by delivering untarnished books. Quality, services and satisfaction are everything for us!
Easy Return
Easy return
Not satisfied with this product! Keep it in original condition and packaging to avail easy return policy.
Certified product
Certified product
First impression is the last impression! Address the book’s certification page, ISBN, publisher’s name, copyright page and print quality.
Secure Checkout
Secure checkout
Security at its finest! Login, browse, purchase and pay, every step is safe and secured.
Money back guarantee
Money-back guarantee:
It’s all about customers! For any kind of bad experience with the product, get your actual amount back after returning the product.
On time delivery
On-time delivery
At your doorstep on time! Get this book delivered without any delay.
Notify me when this book is in stock
Add to Wishlist
X

About the Book

The third edition of the C++ Primer combines Stanley Lippman's practical experience with Josee Lajoie's inside knowledge of the ANSI/ISO Standard C++. This tutorial is rewritten to describe the features and programming usage of Standard C++. Especially useful for developers new to C++ are the many real-world programming examples that illustrate the design of generic and object-oriented programs, the use of templates, and other aspects of program design using Standard C++. In addition, the C++ Primer provides usage and efficiency guidelines where appropriate. Highlights * Clear, practical and example-driven coverage of the Standard Library, with emphasis on the containers, iterators and algorithms (also known as the Standard Template Library), the string class and iostreams * A detailed look at the new features of Standard C++; exception handling, run-time type identification, namespaces, the built-in bool type, and new-style cast-notation, with advice on how to effectively use them. * A thorough introduction of the advanced language features, such as templates, classes, and inheritance in support of generic programming, object-oriented programming and object-based programming. * An appendix that can be used as a quick reference for the generic algorithms, describing their behavior, and providing concrete examples of how to use them. 0201824701B04062001

Table of Contents:
Preface. Structure of This Book. Changes to the Third Edition. The Future of C++. Acknowledgments. Acknowledgments to the Second Edition. Bibliography. I. GETTING STARTED. 1. A Journey of 1000 Miles. Problem Solving. The C++ Program. Preprocessor Directives. A Word About Comments. A First Look at Input/Output. 2. A Tour of C++. The Built-In Array Data Type. Dynamic Memory Allocation and Pointers. An Object-Based Design. An Object-Oriented Design. A Generic Design. An Exception-Based Design. An Array by Any Other Name. The Standard Array Is a Vector. II. THE BASIC LANGUAGE. 3. Data Types. Literal Constant. Variables. Pointer Types. String Types. const Qualifier. Reference Types. The bool Type. Enumeration Types. Array Types. The vector Container Type. complex Number Types. Typedef Names. volatile Qualifier. The pair Type. Class Types. 4. Expression. What Is an Expression? Arithmetic Operators. Equality, Relational, and Logical Operators. Assignment Operators. Increment and Decrement Operators. Complex Number Operations. The Conditional Operator. The sizeof Operator. The new and delete Expressions. Comma Operator. The Bitwise Operators. bitset Operations. Precedence. Type Conversions. A Stack Class Example. 5. Statements. Simple and Compound Statements. Declaration Statement. The if Statement. The switch Statement. The for Loop Statement. The while Statement. The do while Statement. The break Statement. The continue Statement. The goto Statement. A Linked List Example. 6. Abstract Container Types. Our Text Query System. A vector or a list? How a vector Grows Itself. Defining a Sequence Container. Our Text Query System. A vector or a list? How a vector Grows Itself. Defining a Sequence Container. Iterators. Sequence Container Operations. Storing Lines of Text. Finding a Substring. Handling Punctuation. A String by Any Other Format. Additional String Operations. Building a Text Location Map. Building a Word Exclusion Set. The Complete Program. Multimap and Multiset. Stack. Queue and Priority Queue. Revisiting Our iStack Class Iterators. Sequence Container Operations. Storing Lines of Text. Finding a Substring. Handling Punctuation. A String by Any Other Format. Additional String Operations. Building a Text Location Map. Building a Word Exclusion Set. The Complete Program. Multimap and Multiset. Stack. Queue and Priority Queue. Revisiting Our iStack Class. III. PROCEDURAL BASED PROGRAMMING. 7. Functions. Overview. Function Prototype. Argument Passing. Returning a Value. Recursion. Inline Functions. Linkage Directives: extern “C”. main(): Handling Command Line Options. Pointers to Functions. 8. Scope and Lifetime. Scope. Global Objects and Functions. Local Objects. Dynamically Allocated Objects. Namespace Definitions. Using Namespace Members. 9. Overloaded Functions. Overloaded Function Declarations. The Three Steps of Overload Resolution. Argument Type Conversions. Details of Function Overload Resolution. 10. Function Templates. Function Template Definition. Function Template Instantiation. Template Argument Deduction. Explicit Template Arguments. Template Compilation Models. Template Explicit Specialization. Overloading Function Templates. Overload Resolution with Instantiations. Name Resolution in Template Definitions. Namespaces and Function Templates. Function Template Example. 11. Exception handling. Throwing an Exception. The Try Block. Catching an Exception. Exception Specifications. Exceptions and Design Issues. 12. Generic Algorithms. Overview. Using the Generic Algorithms. Function Objects. Revisiting Iterators. The Generic Algorithms. When Not to Use the Generic Algorithms. IV. OBJECT-BASED PROGRAMMING. 13. Classes. Class Definition. Class Objects. Class Member Functions. The Implicit this Pointer. Static Class Members. Pointer to Class Member. Union: A Space-Saving Class. Bit-field: A Space-Saving Member. Class Scope. Nested Classes. Classes as Namespace Members. Local Classes. 14. Initialization, Assignment, and Destruction. Class Initialization. The Class Constructor. The Class Destructor. Class Object Arrays and Vectors. The Member Initialization List. Memberwise Initialization. Memberwise Assignment. Efficiency Considerations. 15. Function And Operator Overloading. Operator Overloading. Friends. Operator =. Operator [ ]. Operator ( ). Operator ->. Operators ++ and --. Operators new and delete. User-Defined Conversions. Selecting a Conversion. Overload Resolution and Member Functions. Overload Resolution and Operators. 16. Class Templates. Class Template Definition. Class Template Instantiation. Member Functions of Class Templates. Friend Declarations in Class Templates. Static Data Members of Class Templates. Nested Types of Class Templates. Member Templates. Class Templates and Compilation Model. Class Template Specializations. Class Template Partial Specializations. Name Resolution in Class Templates. Namespaces and Class Templates. A Template Array Class. V. OBJECT-ORIENTED PROGRAMMING. 17. Class Inheritance and Subtyping. Defining a Class Hierarchy. Identifying the Members of the Hierarchy. Base Class Member Access. Base and Derived Class Construction. Base and Derived Class Virtual Functions. Memberwise Initialization and Assignment. A UserQuery Manager Class. Putting It Together. 18. Multiple and Virtual Inheritance. Setting the Stage. Multiple Inheritance. Public, Private, and Protected Inheritance. Class Scope under Inheritance. Virtual Inheritance. A Multiple, Virtual Inheritance Example. 19. Uses of Class Inheritance in C++. Run-Time Type Identification. Exceptions and Inheritance. Overload Resolution and Inheritance. 20. The iostream Library. The Output Operator<<. Input. Additional Input/Output Operators. Overloading the Output Operator <<. Overloading the Input Operator >>. File Input and Output. Condition States. String Streams. Format State. A Strongly Typed Library. Appendix: The IOStream Library. accumulate(). adjacent_difference(). adjacent_find(). binary_search(). copy(). copy_backward(). count(). count_if(). equal(). equal_range(). fill(). fill_n(). find(). find_if(). find_end(). find_first_of(). for_each(). generate(). generate_n(). includes(). inner_product(). inplace_merge(). iter_swap (). lexicographical_compare(). lower_bound(). max(). max_element(). min(). min_element(). merge(). mismatch(). next_permutation(). nth_element(). partial_sort(). partial_sort_copy(). partial_sum(). partition(). prev_permutation(). random_shuffle(). remove(). remove_copy(). remove_if(). remove_copy_if(). replace(). replace_copy(). replace_if(). replace_copy_if(). reverse(). reverse_copy(). rotate(). rotate_copy(). search(). search_n(). set_difference(). set_intersection(). set_symmetric_difference(). set_union(). sort(). stable_partition(). stable_sort(). swap(). swap_range(). transform(). unique(). unique_copy(). upper_bound(). Heap Algorithms. make_heap(). pop_heap(). push_heap(). sort_heap(). Index. 0201824701T04062001


Best Sellers


Product Details
  • ISBN-13: 9780201824704
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison Wesley
  • Height: 236 mm
  • No of Pages: 1264
  • Weight: 1855 gr
  • ISBN-10: 0201824701
  • Publisher Date: 16 Apr 1998
  • Binding: Paperback
  • Language: English
  • Spine Width: 44 mm
  • Width: 187 mm


Similar Products

How would you rate your experience shopping for books on Bookswagon?

Add Photo
Add Photo

Customer Reviews

REVIEWS           
Click Here To Be The First to Review this Product
C++ Primer
Pearson Education (US) -
C++ Primer
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++ Primer

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!
    ASK VIDYA