Sams Teach Yourself C++ in One Hour a Day / Edition 6

Paperback (Print)
Used and New from Other Sellers
Used and New from Other Sellers
from $3.61
Usually ships in 1-2 business days
(Save 92%)
Other sellers (Paperback)
  • All (12) from $3.61   
  • New (3) from $66.72   
  • Used (9) from $3.61   
Sort by
Page 1 of 1
Showing All
Note: Marketplace items are not eligible for any coupons and promotions
Seller since 2008

Feedback rating:



New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.


Ships from: Chicago, IL

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
Seller since 2015

Feedback rating:


Condition: New
New New condition. Free track! Fast shipping! Satisfaction guaranteed!

Ships from: Media, PA

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
Seller since 2015

Feedback rating:


Condition: New
Brand new.

Ships from: acton, MA

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
Page 1 of 1
Showing All
Sort by


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:

  • Master the fundamentals of C++ and object-oriented programming
  • Learn some of the more advanced features of C++
  • Learn the Standard Template Library and the containers and algorithms used in most real-world C++ applications
  • Learn how to build effective programs in C++ with hands-on exercises
  • Get expert tips on implementing C++ in the corporate environment


Learn on your own time, at your own pace

  • No previous programming experience required
  • Learn C++ and object-oriented design, programming, and analysis
  • Write fast and powerful C++ programs, compile the source code, and create executable files
  • Understand the latest ANSI standard
  • Use the Standard Template Library’s algorithms and containers to write feature-rich yet stable C++ applications
  • Develop sophisticated programming techniques with functions, arrays, variables, and smart pointers
  • Learn to expand your program’s power with inheritance and polymorphism
  • Master the features of C++ by learning from programming experts
  • Works with all ANSI C++ compilers


Read More Show Less

Product Details

  • ISBN-13: 9780672329418
  • Publisher: Sams
  • Publication date: 7/25/2008
  • Series: Sams Teach Yourself Series
  • Edition description: Sixth Edition
  • Edition number: 6
  • Pages: 857
  • Product dimensions: 7.00 (w) x 9.00 (h) x 1.90 (d)

Meet the Author

Siddhartha Rao is a Microsoft Most Valuable Professional for Visual C++ and a moderator at one of the Internet's most vibrant online development communities, "Sid," as he is popularly known, is an expert in the Windows programming domain, and is experienced in the architecture and development of driver and application software using C++ and other modern programming languages. Currently employed by a German software giant, he specializes in software landscape management and best practices in software development. With the international experience of having lived and worked in three countries behind him, he believes that the travel bug has bit him, and firmly so! Sid speaks many languages that have nothing to do with programming, and when he's not working, you will find him discovering new places on the planet, or shooting--using his Canon, of course!

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., where he provides custom programming, consulting, and training.

Bradley L. Jones, Microsoft MVP for Visual C++, runs a number of software development sites including,, DevX, VBForums, Gamelan, and other JupiterWeb-owned sites.

Read More Show Less

Table of Contents

PART I: The Basics

LESSON 1: Getting Started

LESSON 2: The Anatomy of a C++ Program

LESSON 3: Using Variables, Declaring Constants

LESSON 4: Managing Arrays and Strings

LESSON 5: Working with Expressions, Statements, and Operators

LESSON 6: Organizing Code with Functions

LESSON 7: Controlling Program Flow

LESSON 8: Pointers Explained

LESSON 9: Exploiting References

PART II: Fundamentals of Object-Oriented Programming and C++

LESSON 10: Classes and Objects

LESSON 11: Implementing Inheritance

LESSON 12: Polymorphism

LESSON 13: Operator Types and Operator Overloading

LESSON 14: Casting Operators

LESSON 15: An Introduction to Macros and Templates

PART III: Learning the Standard Template Library (STL)

LESSON 16: An Introduction to the Standard Template Library

LESSON 17: The STL string Class

LESSON 18: STL Dynamic Array Classes

LESSON 19: STL list

LESSON 20: STL set and multiset

LESSON 21: STL map and multimap


LESSON 22: Understanding Function Objects

LESSON 23: STL Algorithms

LESSON 24: Adaptive Containers: stack and queue

LESSON 25: Working with Bit Flags Using STL

PART V: Advanced C++ Concepts

LESSON 26: Understanding Smart Pointers

LESSON 27: Working with Streams

LESSON 28: Exception Handling

LESSON 29: Tapping Further into the Preprocessor


APPENDIX A: Working with Numbers: Binary and Hexadecimal

APPENDIX B: C++ Keywords

APPENDIX C: Operator Precedence



Read More Show Less



This book is designed to help you teach yourself how to program with C++. Just as you can learn to walk one step at a time, you can learn to program in C++ one hour at a time. Each lesson in this book has been designed so that you can read the entire lesson in just an hour a day. It lays emphasis on the practical usage of the language, and helps you get up-to-speed with concepts that are most important in writing C++ applications for real-world usage.

By focusing for just an hour a day at a time, you'll learn about such fundamentals as managing input and output, loops and arrays, object-oriented programming, templates, using the standard template library, and creating C++ applications—all in well-structured and easy-to-follow lessons. Lessons provide sample listings—complete with sample output and an analysis of the code—to illustrate the topics of the day.

To help you become more proficient, each lesson ends with a set of common questions and answers, a quiz, and exercises. You can check your progress by examining the quiz and exercise answers provided in Appendix D, "Answers."

Who Should Read This Book

You don't need any previous experience in programming to learn C++ with this book. This book starts you from the beginning and teaches you both the language and the concepts involved with programming C++. You'll find the numerous examples of syntax and detailed analysis of code an excellent guide as you begin your journey into this rewarding environment. Whether you are just beginning or already have some experience programming, you will find that this book's clear organization makes learning C++ fast and easy.

Organization of This Book

This is a book that appeals as much to a beginner in the language as it does to someone who wishes to understand C++ again, but from a more practical perspective. It is hence divided into five parts:

  • Part I, "The Basics," introduces C++, and its syntactical details. This is very useful for absolute beginners who would first like to understand the basics of programming in C++.
  • Part II, "Fundamentals of Object-Oriented Programming and C++," introduces the object-oriented features of C++—those that set it apart from its predecessor C. This section lays the foundation for a more practical view of the language and one of its most powerful utilities, the standard template library.
  • Part III, "Learning the Standard Template Library (STL)," gives you a close look at how C++ is used in real-life practical applications where quality of your application can be vastly improved by using readily available, standard-compliant constructs.
  • Part IV, "More STL," introduces you to algorithms such as sort and other STL constructs that help streamline your application and increase its reliability.
  • Part V, "Advanced C++ Concepts," discusses details and features of the programming language that not every application built using it needs to have, yet, knowing them can help in error analysis or in writing better code.

Conventions Used in This Book

Within the lessons, you'll find the following elements that provide additional information:

Tip - These boxes highlight information that can make your C++ programming more efficient and effective.

Note - These boxes provide additional information related to material you just read.

FAQ - What do FAQs do?

Answer: These Frequently Asked Questions provide greater insight into the use of the language and clarify potential areas of confusion.

Caution - These focus your attention on problems or side effects that can occur in specific situations.

These boxes provide clear definitions of essential terms.

DO use the "Do/Don't" boxes to find a quick summary of a fundamental principle in a lesson.

DON'T overlook the useful information offered in these boxes.

This book uses various typefaces to help you distinguish C++ code from regular English. Actual C++ code is typeset in a special monospace font. Placeholders—words or characters temporarily used to represent the real words or characters you would type in code—are typeset in italic monospace. New or important terms are typeset in italic.

Sample Code for This Book

The code samples in this book are available online for download from the publisher's website.

© Copyright Pearson Education. All rights reserved.

Read More Show Less

Customer Reviews

Average Rating 4
( 6 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 6 Customer Reviews
  • Anonymous

    Posted November 29, 2011

    Highly Recommended

    This is an absolute must read for a completely new to C++ person. this book will hold your hand from baby steps like a typical "Hello world" program to object oriented programming, and a lot more advanced stuff. It explains each and every single line of code in every example and what they do. There is also a "workshop" at the end of each chapter that tests your knowledge based on what you learned, some of it asks you to write code, some of it will ask you to find the "bug" in a given code.

    the final Verdict: If you're completely new or even intermediate, get this!!!!

    Was this review helpful? Yes  No   Report this review
  • Posted July 11, 2011

    If only!

    I absolutely love this book. If only they had a nook version that I could purchase. I'd pay almost any price to get this in a readable epub format. I've been reading the pdf version on my computer over the past few days, but quickly realized how strenuous that was on my eyes. Being a little impulsive, I went out and bought a nook specifically to read the book, but after loading up the pdf, the code was all jumbled up. I'm going to give the newer "Teach yourself c++ in 24 hours" a shot, and hopefully my experience with it is the same as this one. The book overall has been fantastic and very comprehensive. I wish there were a tad bit more practical examples of code, but it gives you enough for a basic understanding. There are several other books out there to show you practical use of C++, and this book does it's job of teaching you the basics. Please B&N, try to get this on my nook ASAP! :)

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted July 25, 2008

    easy lessons

    I never read the 5th edition of this book, so I can't really remark on the differences with this 6th edition. But considering just this edition... The book fits well into the style of the series of 'Teach Yourself ... in One Hour a Day'. Each chapter, which the authors term a lesson, is bite-sized. I can readily envisage a typical neophyte to programming (of any language) being able to assimilate its contents in roughly an hour. Keep in mind that if you have never encountered this series before, then don't take too literally the one hour limit, as far as understanding the text in each chapter. Some chapters will naturally be more important and cover more complex concepts than others. If you need extra time, take it. The shoehorning into an hour is only an approximation. What might be the simpler chapters? One could be that on controlling program flow, using while, do-while and for loops. The most important item in this chapter is that you should use these constructs whenever possible, in place of goto. Yes, you can use goto in C++. But the book warns that this leads to spaghetti code. Tangled and difficult to debug and extend. Goto is a tempting shortcut to beginners that must be resisted. A more complicated chapter is on pointers. Describing the some of the myriad ways that they can be used and misused. There is ample warning about pointer errors. The book does not do a comparitive analysis with other languages. But you should know that the designers of Java thought pointer bugs in C/C++ were so numerous and miserable that pointer arithmetic has been essentially banned in Java. Yeah, you want to be a C++ programmer why else would you be considering this book? That's fair enough. But it doesn't hurt to know some of the key differences between C++ and its major alternative, which seems to be Java. If nothing else, this particular difference can keep you focused on very carefully writing pointer code.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted May 22, 2010

    No text was provided for this review.

  • Anonymous

    Posted July 6, 2010

    No text was provided for this review.

  • Anonymous

    Posted February 6, 2009

    No text was provided for this review.

Sort by: Showing all of 6 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)