0%

Book Description

The best-selling C++ tutorial - updated for the latest standards, and enhanced to be even more engaging for beginners

  • Teaches C++ as a first programming language, through short, simple chapters that can be completed in no more than an hour each

  • Includes well-crafted, up-to-date, and concise examples, and provides a C++ compiler to test them

  • Contains new and revised material that reflects the forthcoming new C++ language standard

  • Sams Teach Yourself C++ in 24 Hours, 5/e, will help C++ beginners gain true mastery over the latest version of the C++ standard. In this book's straightforward, step-by-step approach, each lesson builds on everything that's come before, helping readers learn C++'s core features and techniques from the ground up. Friendly, accessible, and conversational, this book offers a practical grounding in the language, without ever becoming overwhelming or intimidating. Readers master key concepts, syntax, and techniques through short, practical examples that reflect today's best practices and cross-platform language standards. Coverage includes: organizing C++ programs; using variables, constants, expressions, statements, operators, and functions; controlling program flow; working with arrays and strings; creating basic and advanced classes; managing memory; using operator overloading; working with inheritance, polymorphism, and linked lists; reading and writing IO; employing object-oriented analysis and design; creating templates; handling exceptions and errors; and much more. By the time readers are finished with this book's lessons, they won't just understand C++: they'll be comfortable using it in real-world projects.

    Table of Contents

    1. Title Page
    2. Copyright Page
    3. Dedications
    4. Table of Contents
    5. About the Authors
    6. Acknowledgments
    7. We Want to Hear from You!
    8. Reader Services
    9. Introduction
    10. Part I: Beginning C++
      1. Hour 1. Writing Your First Program
      2. Hour 2. Organizing the Parts of a Program
      3. Hour 3. Creating Variables and Constants
      4. Hour 4. Using Expressions, Statements, and Operators
      5. Hour 5. Calling Functions
      6. Hour 6. Controlling the Flow of a Program
      7. Hour 7. Storing Information in Arrays and Strings
    11. Part II: Classes
      1. Hour 8. Creating Basic Classes
      2. Hour 9. Moving into Advanced Classes
    12. Part III: Memory Management
      1. Hour 10. Creating Pointers
      2. Hour 11. Developing Advanced Pointers
      3. Hour 12. Creating References
      4. Hour 13. Developing Advanced References and Pointers
    13. Part IV: Advanced C++
      1. Hour 14. Calling Advanced Functions
      2. Hour 15. Using Operator Overloading
    14. Part V: Inheritance and Polymorphism
      1. Hour 16. Extending Classes with Inheritance
      2. Hour 17. Using Polymorphism and Derived Classes
      3. Hour 18. Making Use of Advanced Polymorphism
      4. Hour 19. Storing Information in Linked Lists
    15. Part VI: Special Topics
      1. Hour 20. Using Special Classes, Functions, and Pointers
      2. Hour 21. Using New Features of C++0x
      3. Hour 22. Employing Object-Oriented Analysis and Design
      4. Hour 23. Creating Templates
      5. Hour 24. Dealing with Exceptions and Error Handling
    16. Part VII: Appendices
      1. Appendix A. Binary and Hexadecimal
      2. Glossary
      3. Appendix C. This Book’s Website
    17. Index
    3.21.104.72