C++ in 24 Hours, Sams Teach Yourself, 6th edition

Published by Sams Publishing (August 3, 2016) © 2017

  • Rogers Cadenhead
  • Jesse Liberty

eTextbook

$33.99

  • Available for purchase from all major ebook resellers, including InformIT.com.
  • To request a review copy, click on the "Request a Review Copy" button.
$27.99

  • A print text (hardcover or paperback) 
  • Free shipping
  • Also available for purchase as an ebook from all major ebook resellers, including InformIT.com
Sams Teach Yourself C++ in 24 Hours is a hands-on guide to the C++ programming language. Readers are provided with short, practical examples that illustrate key concepts, syntax, and techniques. Using a straightforward approach, this fast and friendly tutorial teaches you everything you need to know, from installing and using a compiler, to debugging the programs you’ve created, to what’s new in C++14.
  • Step-by-step instructions carefully walk you through the most common C++ programming tasks
  • Quizzes and exercises at the end of each chapter help you test yourself to make sure you’re ready to go on
Learn how to...
  • Install and use a C++ compiler for Windows, Mac OS X, or Linux
  • Build object-oriented programs in C++
  • Master core C++ concepts such as functions and classes
  • Add rich functionality with templates and lambda expressions
  • Debug your programs for flawless code
  • Learn exception and error-handling techniques
  • Put to use the new features in C++14, the latest version of the language
  • Create and use templates
  • Control program flow with loops
  • Store information in arrays and strings
  • Declare and use pointers
  • Use operator overloading
  • Extend classes with inheritance
  • Use polymorphism and derived classes
  • Employ object-oriented analysis and design
Starter Kit
See Appendix D for information on how to download a free C++ compiler for Windows.
  • Unbeatable formula for learning C++ from scratch: Easy-to-understand chapters, well-crafted examples, and step-by-step instructions on downloading and installing a free C++ compiler
  • Co-author Rogers Cadenhead has a proven track record for teaching beginning programmers in an approachable yet highly engaging manner
  • The sixth edition of this international best seller includes new and updated material to take into account the new C++11 and C++14 standards

The sixth edition of Sams Teach Yourself C++ in 24 Hours includes updated material to cover C++11 and C++14

Co-author Rogers Cadenhead brings his unique and popular teaching style to the material, freshening up the examples, de-densifying the material to make it more approachable and understandable for beginning programmers, and making full use of some of the more popular teaching elements found in other successful Teach Yourself books.

  • Hour 1:  Writing Your First Program 
  • Hour 2:  Organizing the Parts of a Program  
  • Hour 3:  Creating Variables and Constants
  • Hour 4:  Using Expressions, Statements, and Operators   
  • Hour 5:  Calling Functions   
  • Hour 6:  Controlling the Flow of a Program
  • Hour 7:  Storing Information in Arrays and Strings
  • Hour 8:  Creating Basic Classes 
  • Hour 9:  Moving into Advanced Classes  
  • Hour 10:  Creating Pointers    
  • Hour 11:  Developing Advanced Pointers  
  • Hour 12:  Creating References    
  • Hour 13:  Developing Advanced References and Pointers 
  • Hour 14:  Calling Advanced Functions   
  • Hour 15:  Using Operator Overloading    
  • Hour 16:  Extending Classes with Inheritance   
  • Hour 17:  Using Polymorphism and Derived Classes 
  • Hour 18:  Making Use of Advanced Polymorphism  
  • Hour 19:  Storing Information in Linked Lists   
  • Hour 20:  Using Special Classes, Functions, and Pointers  
  • Hour 21:  Using New Features of C++
  • Hour 22:  Employing Object-Oriented Analysis and Design 
  • Hour 23:  Creating Templates    
  • Hour 24:  Dealing with Exceptions and Error Handling

Rogers Cadenhead is a writer, computer programmer, and web developer who has written more than 25 books on Internet-related topics, including Sams Teach Yourself Java in 21 Days and Absolute Beginner’s Guide to Minecraft Mods Programming. He publishes the Drudge Retort and other websites that receive more than 22 million visits a year. This book’s official website is at http://cplusplus.cadenhead.org.
Jesse Liberty is the author of numerous books on software development, including best-selling titles on C++ and .NET. He is the president of Liberty Associates, Inc. (www.libertyassociates.com), where he provides custom programming, consulting, and training.

Need help? Get in touch

Video
Play
Privacy and cookies
By watching, you agree Pearson can share your viewership data for marketing and analytics for one year, revocable by deleting your cookies.

Pearson eTextbook: What’s on the inside just might surprise you

They say you can’t judge a book by its cover. It’s the same with your students. Meet each one right where they are with an engaging, interactive, personalized learning experience that goes beyond the textbook to fit any schedule, any budget, and any lifestyle.Â