Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Sams Teach Yourself C++ in One Hour a Day 6th Edition
There is a newer edition of this item:
- ISBN-100672329417
- ISBN-13978-0672329418
- Edition6th
- PublisherSams
- Publication dateJanuary 1, 2008
- LanguageEnglish
- Dimensions7 x 1.75 x 9.25 inches
- Print length857 pages
Products related to this item
Editorial Reviews
From the Back Cover
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
¿
About 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, CodeGuru.com. "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 Developer.com, CodeGuru.com, DevX, VBForums, Gamelan, and other JupiterWeb-owned sites.
Excerpt. © Reprinted by permission. All rights reserved.
Introduction
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++ applicationsall in well-structured and easy-to-follow lessons. Lessons provide sample listingscomplete with sample output and an analysis of the codeto 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. Placeholderswords or characters temporarily used to represent the real words or characters you would type in codeare 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.
Product details
- Publisher : Sams; 6th edition (January 1, 2008)
- Language : English
- Paperback : 857 pages
- ISBN-10 : 0672329417
- ISBN-13 : 978-0672329418
- Item Weight : 2.98 pounds
- Dimensions : 7 x 1.75 x 9.25 inches
- Customer Reviews:
About the authors

Jesse Liberty is a C# programmer working for CNH Industries. He is a Microsoft MVP and an author.
Liberty hosts the popular Yet Another Podcast and his blog (https://jesseliberty.com) is considered required reading. He was a Senior Evangelist for Microsoft, a Distinguished Software Engineer at AT&T; Software Architect for PBS and Vice President of Information Technology at Citibank.
His non-technical writing can be found at https://jlauthor.me
Jesse can be followed at https://jesseliberty.com/find-me

Discover more of the author’s books, see similar authors, read book recommendations and more.

Born in Mumbai to parents from different cultures, Siddhartha grew up speaking four languages and learning many more. Awarded Most Valuable Professional for Visual C++ by Microsoft, he has two decades of experience in software development and is recognized for his contribution to the software community at CodeGuru.com. As the Vice President in charge of Security Response at SAP SE, his responsibilities include helping SAP develop secure and trustworthy products.
Products related to this item
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonCustomers say
Customers find the pacing of the book strong, structured, and clear for beginners. They also describe the writing quality as well-written and an easy read.
AI-generated from the text of customer reviews
Customers find the pacing of the book strong, structured, and clear. They say it teaches C++ in an easier fashion, with appropriate programs. Readers also mention the explanations of difficult aspects are very good. Overall, they say the book is great for those new to programming and amateurs.
"...To clarify the title, I'd say this book is great for those new to programming, as well as amateurs from other languages who need a more modest pace..." Read more
"...The concepts are introduced with enough background information to understand the clearly laid out examples...." Read more
"...I must admit i'm a true beginner. The book seems very thorough but in all honesty, if you don't have a clue about how to even start programming, i'd..." Read more
"...The two books combined are a great learning tool...." Read more
Customers find the book well-written, easy to read, and has good print quality. They also appreciate the page design and format.
"...This book is an easy read, while managing to cover all of the basics in good detail...." Read more
"As another reviewer noted, this book is surprisingly good. The writing is above par for a technical book with a nice flow for a technical book...." Read more
"...This book is well written with just enough informality to keep it interesting...." Read more
"...Strong structured lessons with programming samples. Good print quality, page design and book format." Read more
Reviews with images
Quality issue
-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
To clarify the title, I'd say this book is great for those new to programming, as well as amateurs from other languages who need a more modest pace for a 2nd language.
This book is an easy read, while managing to cover all of the basics in good detail. Explanations of difficult aspects are very good, although, as with any book, there are a few portions where I wished just a bit more had been added for emphasis and clarity.
Examples are good along with good end of chapter reviews. I especially like the areas where the authors point out syntax and techniques that you need to know, but then explain why they are better for niche use, and then go on to explain the better, and more common alternatives.
As of chapter 12, the downsides are trivial, as they all fall into that category of, "It's impossible for any one book to please everyone perfectly". Having said that, I give this book my highest rating. I also have Liberty's 24 hour version from 2002, which is why I ultimately bought his bigger version.
And now, a bit of general advice. I've seen a fair amount of programming books, and I've read tons more reviews of many more, all in a quest to find that 'perfect book'.
Try this for a bottom line: By the time you find that 'perfect book', that fits you like a glove, you could have learned that language 4 times over, and spent your spare time getting help from pros on various forums to enhance your skill in places the book was lacking.
Don't wait for the perfect book. First, decide whether you want the 'rush job' and more amateur approach, or the longer route, serious amateur/potential pro approach. For the rush job, get a smaller, '24 hour' book, typically 200-400 pages. For the longer route, get the big thicken'.
Next, aim for a book that is easy on the eyes and the brain, as opposed to one that is said to cover every last scrap and detail of the language and professional practices. Those 'cover-all' books are better for veteran programmers, and you can always get that info online, or later in an 'advanced/professional' book.
Obviously, if you land on a book that is just difficult to work with, you need to try another one, but if your complaints are minor, then the web can fill in those gaps for you, just as it has done for me with my experience with this book. I've only had to do that a few times, ftr.
What this book will not teach you is how to use an Integrated Development Environment like Microsoft Visual Studio or Eclipse. In order to take advantage of the examples, one must have the ability to compile and run a C++ program, which is a concept lost upon many aspiring programmers. In order to actually have a program compile and run, one must use either and IDE or cobble together a program at the command line. Learning OOP and the structure of a language is different from using the tools of the trade. This book will not turn you into a programmer, it will teach you the basics of the C++ language.
If you plan on learning C++ in 21 days like the title says, good luck. This information is to be ingested slowly and it takes time to type in the code for the example listings. Also there are great side articles that will start you on a wild, but good, information goose chases. For example, after the book takes a few pages to explain Pointers on a very high level, I found myself trying to supplement what I just learned with web resources.
I am very pleased with this book so far. I look forward to continue learning from it about what could very easily be a mundane subject.
I highly recomend both of these books to a beginner.
COMPILER FOR WINDOWS VISTA/WINDOWS 7:
1. My favorite is the FREE IDE compiler bundle downloadable from the codeblocks website. You can download the codeblocks IDE with an included MinGW compiler. It is all a beginner needs in my opinion. It also compiles C.
2. Microsofts Visual Studion Visual C++ Compiler
It is extreamly popular. I have never used it. A free express version is available.
3. And many others.
Top reviews from other countries
It has been money well spent and takes you through C++ with some very interesting examples, the time spend on these is well worth it.
