Enter your mobile number below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
Getting the download link through email is temporarily not available. Please check back later.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your mobile phone number.

Sams Teach Yourself C++ in One Hour a Day (7th Edition) 7th Edition

4.2 out of 5 stars 66 customer reviews
ISBN-13: 978-0672335679
ISBN-10: 0672335670
Why is ISBN important?
This bar-code number lets you verify that you're getting exactly the right version or edition of a book. The 13-digit and 10-digit formats both work.
Scan an ISBN with your phone
Use the Amazon App to scan ISBNs and compare prices.
Trade in your item
Get a $1.60
Gift Card.
Have one to sell? Sell on Amazon
Buy used On clicking this link, a new layer will be open
$24.40 On clicking this link, a new layer will be open
Buy new On clicking this link, a new layer will be open
$27.80 On clicking this link, a new layer will be open
More Buying Choices
39 New from $16.00 34 Used from $9.01
Free Two-Day Shipping for College Students with Prime Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student

Windows 10 For Dummies Video Training
Get up to speed with Windows 10 with this video training course from For Dummies. Learn more.
$27.80 FREE Shipping. Only 14 left in stock (more on the way). Ships from and sold by Amazon.com. Gift-wrap available.
click to open popover

Frequently Bought Together

  • Sams Teach Yourself C++ in One Hour a Day (7th Edition)
  • +
  • C++ Programming in easy steps
  • +
  • C++ Guide (Quick Study Computer)
Total price: $43.22
Buy the selected items together

Editorial Reviews

From the Back Cover

Learn C++ in Just One Hour a Day!

In just one hour a day, you’ll have all the skills you need to begin programming in C++. With this complete tutorial, you’ll quickly master the basics, and then move on to more advanced features and concepts.

Completely updated for the C++11 standard, Sams Teach Yourself C++ in One Hour a Day — the seventh edition of Sams Teach Yourself C++ in 21 Days — presents the language from a practical point of view, helping you learn how to use C++11 to create faster, simpler, and more efficient C++ applications.

  • Master the fundamentals of C++ and object-oriented programming
  • Understand how C++11 features help you write compact and efficient code using concepts such as lambda expressions, move constructors, and assignment operators
  • Learn best practices and avoid pitfalls via useful Do’s and Don’ts
  • Learn the Standard Template Library, including containers and algorithms used in most real-world C++ applications
  • Test your knowledge and expertise using exercises at the end of every lesson

Learn on your own time, at your own pace:

  • No previous programming experience required
  • Learn C++11, object-oriented programming, and analysis
  • Write fast and powerful C++ programs, compile the source code, and create executable files
  • Use the Standard Template Library’s algorithms and containers to write feature-rich yet stable C++ applications
  • Develop sophisticated programming techniques using lambda expressions, smart pointers, and move constructors
  • Learn to expand your program’s power with inheritance and polymorphism
  • Master the features of C++ by learning from programming experts
  • Learn C++11 features that allow you to program compact and high-performance C++ applications

About the Author

Siddhartha Rao is a technologist at SAP AG, the world’s leading supplier of enterprise software. As the head of SAP Product Security India, his primary responsibilities include hiring expert talent in the area of product security as well as defining development best practices that keeps SAP software globally competitive. Awarded Most Valuable Professional by Microsoft for Visual Studio–Visual C++, he is convinced that C++11 will help you program faster, simpler, and more efficient C++ applications.


Siddhartha also loves traveling and discovering new cultures given an opportunity to. For instance, parts of this book have been composed facing the Atlantic Ocean at a quaint village called Plogoff in Brittany, France—one of the four countries this book was authored in. He looks forward to your feedback on this global effort!


New York Times best sellers
Browse the New York Times best sellers in popular categories like Fiction, Nonfiction, Picture Books and more. See more

Product Details

  • Series: Sams Teach Yourself
  • Paperback: 768 pages
  • Publisher: Sams Publishing; 7 edition (May 20, 2012)
  • Language: English
  • ISBN-10: 0672335670
  • ISBN-13: 978-0672335679
  • Product Dimensions: 7 x 1.5 x 9.1 inches
  • Shipping Weight: 2.5 pounds (View shipping rates and policies)
  • Average Customer Review: 4.2 out of 5 stars  See all reviews (66 customer reviews)
  • Amazon Best Sellers Rank: #141,293 in Books (See Top 100 in Books)

Customer Reviews

Top Customer Reviews

By J. Alexander on March 16, 2013
Format: Paperback Verified Purchase
/********** Conclusion **********/
Due to the two major cons below, I will not recommend this book, but instead recommend two others:

1) SAMS Teach Yourself C++ in 21 Days (5th Edition). If you want to learn C++ from scratch and have any trouble at all following other books, that book will be a godsend for you.
2) Once you finish that book, pick up The C++ Standard Library to learn about the STL and newer C++11 features in greater depth.

/********** PROS **********/
1) The same wonderful layout that SAMS books are known for. It makes quick referencing and look-up of key points easy.

2) Covers more of the STL than older editions.

/********** CONS **********/
1). The author in this book is not nearly as user-friendly in their explanations as authors of the 5th edition. While writing a tutorial on functions for my students, I looked to this book as a reference. The very first sentence on functions in this book is the following:

"Functions in C++ are the same as functions in C. Functions are artifacts that enable you to divide the content of your application into functional units that can be invoked in a sequence of your choosing."

The first problem with this introduction line is that this book is for beginners who probably don't know C, so that's a dumb assumption to make. The second problem with it is that nobody refers to functions as artifacts just because they are functions, and regardless, referring to them as artifacts does nothing to enhance the beginner's understanding of functions. Both of these points are part of the main problem which is that this is an absolutely HORRIBLE explanation for the novice this book is targeted at. No student of mine will learn from language like this.
Read more ›
6 Comments 161 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
Very good implementation of the "an Hour a Day" concept

The structure of the book is very good to work in small units - exactly as promised by the title. I handed the book to my son, who is interested in C++ programming. He had some experience programming with friends, but it was not very well structured.
We used the one hour lectures to update specific topics, where he felt gaps in his knowledge without reading the complete book. So what comes in very comfortable for this kind of use is:
- the explanations are very good, clear, easy to understand
- the book is an easy read, because it works very well with different type styles for text, source code etc., with diagrams and text boxes for important stuff like notes and warnings. And it does so, without destructing from the content.
- the examples are very short - but to the point. That is important, so that the learning person does not get destructed by too many details. An additional goody: after each example there is "analysis" section, that explains what should be learned from the sample.
- on the other hand - some details did really surprise me positively, like the description of array initialisation - which is often omitted in beginners books

For readers, who start at the beginning and work himself/herself through the book, I like to mention, that the book only uses pipe input/output (cin, cout) and introduces strings and other std library classes very early. I think it is important, that modern books do not try to first teach C and then expand to C++ concepts.
The content is very satisfying: from basics, pointers, classes, inheritance and polymorphism it reaches to templates, a very good STL overview to smart pointers, exception Handling and - C++11 standard - Lambda expressions.
Read more ›
Comment 31 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback Verified Purchase
I've gotten a few books on C++ and this so far is the absolute best for me. A bit of background about me. I have background in VB mainly and a little C++ years ago (forgot everything) so was looking for refreshers. My idea of a refresher though is to give it to me straight, right down to nuts and bolts. This book did it perfectly, treated me like a complete novice but bogged me down in enough examples that meant whenever I left a chapter, everything was crystal clear (a hugely important factor in learning code, the last thing you want is to skip over something and have it come back to bite you in the ass)

Other books I had covered too much (which isn't bad) but can be overwhelming so I keep them as reference books but this is my go to book for starting on page 1 and moving all the way through.

Pros for me are the examples. Plenty to choose from with good analysis of what is going on. Great examples too, really makes understanding the principles easy

Cons are the odd spelling mistakes and typos. The odd question is asked twice which isn't that bad but every now and again a letter or number in the code is incorrect which can throw you a bit of a curveball. But thanks to the knowledge I got from this book I was able to spot them. Always fun correcting the teacher :-)

I would recommend this book to beginners as everything is covered but if you are like me and have a background in some coding and have been inactive for a while and are looking for a very basic refresher minus the jargon then get this book.
Comment 22 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse

Set up an Amazon Giveaway

Sams Teach Yourself C++ in One Hour a Day (7th Edition)
Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers. Learn more about Amazon Giveaway
This item: Sams Teach Yourself C++ in One Hour a Day (7th Edition)