- Shopping Bag ( 0 items )
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:
Learn on your own time, at your own pace
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
PART IV: More STL
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
APPENDIX D: Answers
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."
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.
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:
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.
The code samples in this book are available online for download from the publisher's website.
© Copyright Pearson Education. All rights reserved.
Posted November 29, 2011
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!!!!
Posted July 11, 2011
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 NoThank you for your feedback. Report this reviewThank you, this review has been flagged.
Posted July 25, 2008
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 NoThank you for your feedback. Report this reviewThank you, this review has been flagged.
Posted May 22, 2010
No text was provided for this review.
Posted July 6, 2010
No text was provided for this review.
Posted February 6, 2009
No text was provided for this review.