You are previewing Sams Teach Yourself C++ in 24 Hours, fifth edition.
O'Reilly logo
Sams Teach Yourself C++ in 24 Hours, fifth edition

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.