C++
Home > Computing and Information Technology > Computer programming / software engineering > Programming and scripting languages: general > C++: A Dialog: Programming with the C++ Standard Library
C++: A Dialog: Programming with the C++ Standard Library

C++: A Dialog: Programming with the C++ Standard Library


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

Appropriate for beginning to intermediate courses on C++ programming with the Standard Template Library (STL). In this book, programming author Steve Heller teaches C++ programming with the Standard Template Library from the ground up, using real example code that has been carefully tested with novice programmers and refined to ensure its clarity and value. Heller demystifies both C++ and STL, focusing on the concepts and techniques that will help new C++ programmers write effective real-world programs as rapidly as possible. C++: A Dialog presents concepts in the form of a friendly conversation between an expert and a beginner, with Heller explicitly guiding students past the obstacles that typically cause them the most problems. The accompanying CD-ROM contains a commercial-grade version of Borlands powerful C++ compiler, which can run all the programs presented in the book—and any other C++/STL program students choose to write.

Table of Contents:
List of Figures. Foreword. Preface. Acknowledgments. Letter from a Novice. 1. Introduction to Programming. Definitions. Baby Steps. 2. Hardware Fundamentals. Definitions. Objectives of This Chapter. Inside the Box. The Binary Number System. Exercises. Using the 16-bit Register Names. Review. Conclusion. Answers to Exercises. 3. Basics of Programming. Definitions. Objectives of This Chapter. Rapid and Accurate Calculation. The Compiler. How the CPU Stores and Manipulates Data in Memory. The Layout of Data in Memory. Exercises, First Set. The char and string Types. using, namespace, and std. int main(). Exercises, Second Set. Input and Output. Changing the Course of Execution. The while Loop. Exercises, Third Set. Our First Slightly Realistic Program. Exercises, Fourth Set. Review. Conclusion. Answers to Exercises. 4. More Basics. Objectives of This Chapter. Algorithmic Thinking. Handling Any Number of Prizes. Index Variables. The Selection Sort. Program Failure. Review. Exercises. Conclusion. Answers to Exercises. 5. Functional Literacy. Definitions. Objectives of This Chapter. Modules vs. Functions. Using a Function. Software Is a Virtual Computer. Scope of Variables. The Disadvantages of Global Variables. More on Using the Stack. Review. Exercises. Conclusion. Answers to Exercises. 6. Taking Inventory. Definitions. Objectives of This Chapter. User-defined Data Types. The StockItem class. More Definitions. Concrete Data Types. The class Scope. More about the StockItem class Interface. Working around the Standard Library. Reference Arguments. Checking Inventory for a Misplaced Item. Review. Exercises. Conclusion. Answers to Exercises. 7. Creating a homegrown string class. Objectives of This Chapter. C String Literals vs. strings. Dynamic Memory Allocation via new and delete. Constructing a string from a C String. Assignment Operator Issues. Solving the Assignment Operator Problem. The const Modifier for Reference Arguments. Calling operator=. Review. Exercises. Conclusion. 8. Finishing our homegrown string class. Objectives of This Chapter. The string Copy Constructor. More about the private Access Specifier. First Review. Adding Further Facilities to our string class. Initialization vs. Assignment. Second Review. Exercises. Conclusion. Answers to Exercises. 9. Inheritance. Definitions. Objectives of This Chapter. Taking Inventory. Adding ReorderItems to the Inventory class. Adding Expiration Dates. The protected Access Specifier. static Member Functions. The stream classes. More about stringstream. Review. Exercises. Conclusion. 10. Polymorphism. Definitions. Objectives of This Chapter. Introduction to Polymorphism. Exercises, First Set. Polymorphic Objects. More Definitions. Why We Need Polymorphic Objects. Implementing Safe Polymorphism. Reimplementing the Standard Member Functions for the New Version of StockItem. voiding an Infinite Regress During Construction. Reference Counting. Sharing a Worker Object. Why We Need m_Count in StockItem. Review. Exercises, Second Set. Conclusion. 11. The Home Inventory Project. Definitions. Objectives of This Chapter. Data Items for the Home Inventory Project. The Manager/Worker Idiom Again. Hiding Unnecessary Information from the class User. Saving the Number of the Elements in the File. Creating a Data File Programmatically. Adding the Ability to Edit a Record. The New Member Functions of HomeItemMusic. Review. Exercises. Conclusion. 12. More on the Home Inventory Project. Definitions. Objectives of This Chapter. Extending the Functionality of strings. How to Implement Our New string Functionality. The Include Guard. Lessons of the xstring class Implementation. Case-Insensitive Searching. Searching for an Item by a Substring. Putting It All Together. How Software Development Really Works. Review. Conclusion. 13. Analyzing the Home Inventory Project. Definitions. Objectives of This Chapter. The Final Version of the Home Inventory Program. Using a namespace to Group Utility Functions. The Functions of the HomeUtility namespace. Checking the Inventory. Finishing up the HomeItem class. Are We Having Fun Yet? Review. Exercises. Conclusion. Appendix A. Tying up Loose Ends. Wrapping Up. Appendix B. Glossary. Special Characters. A 995. B 998. C 1000. D 1006. E 1009. F 1010. G 1013. H 1013. I 1014. K 1017. L 1017. M 1019. N 1021. O 1024. P 1026. R 1029. S 1032. T 1037. U 1038. V 1040. W 1041. Y 1041. Z 1041. About the Author. Bibliography. Index.

About the Author :
STEVE HELLER, President of Chrysalis Software Corporation, is a developer based in Sulphur Springs, TX. His books include The C++ Training Guide, The Java Training Guide, Introduction to C++, Optimizing C++, Efficient C/C++, and Who's Afraid of Java?


Best Sellers


Product Details
  • ISBN-13: 9780130094025
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Prentice Hall
  • Language: English
  • Spine Width: 40 mm
  • Weight: 1587 gr
  • ISBN-10: 0130094021
  • Publisher Date: 11 Sep 2002
  • Binding: SA
  • No of Pages: 1122
  • Sub Title: A Dialog: Programming with the C++ Standard Library
  • Width: 235 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
C++: A Dialog: Programming with the C++ Standard Library
Pearson Education (US) -
C++: A Dialog: Programming with the C++ Standard Library
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++: A Dialog: Programming with the C++ Standard Library

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!