Bulk sales, PO's, Marketplace Items, eBooks, Apparel, and DVDs not included.
Questions About This Book?
- The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any CDs, lab manuals, study guides, etc.
- The eBook copy of this book is not guaranteed to include any supplemental materials. Typically only the book itself is included.
NOTE: You are purchasing a standalone product; MyProgrammingLab does not come packaged with this content. If you would like to purchase both the physical text and MyProgrammingLab search for ISBN-10: 0133441849/ISBN-13: 9780133441840 . That package includes ISBN-10: 0133452255/ISBN-13: 9780133452259 and ISBN-10: 013336092X/ISBN-13: 9780133360929.
MyProgrammingLab should only be purchased when required by an instructor.
Tony Gaddis’s accessible, step-by-step presentation helps beginners understand the important details necessary to become skilled programmers at an introductory level. Gaddis motivates the study of both programming skills and the C++ programming language by presenting all the details needed to understand the “how” and the “why”–but never losing sight of the fact that most beginners struggle with this material. His approach is both gradual and highly accessible, ensuring that readers understand the logic behind developing high-quality programs.
In Starting Out with C++: Early Objects, Gaddis covers objects and classes early after functions and before arrays and pointers. As with all Gaddis texts, clear and easy-to-read code listings, concise and practical real-world examples, and an abundance of exercises appear in every chapter. This text is intended for either a one-semester accelerated introductory course or a traditional two-semester sequence covering C++ programming.
MyProgrammingLab for Starting Out with C++ is a total learning package. MyProgrammingLab is an online homework, tutorial, and assessment program that truly engages students in learning. It helps students better prepare for class, quizzes, and exams—resulting in better performance in the course—and provides educators a dynamic set of tools for gauging individual and class progress. And, MyProgrammingLab comes from Pearson, your partner in providing the best digital learning experiences.
Godfrey Muganda is an Associate Professor of Computer Science at North Central College in Naperville, Illinois, where he chairs the Computer Science Department. He teaches a wide variety of courses at both the undergraduate and graduate levels including courses in Object-Oriented Programming, Comparative Programming Languages, and Compiler Design. His primary research interests are in the Fuzzy Sets and Systems. He won the North Central College faculty award for outstanding scholarship in 1993.
Tony Gaddis is the principal author of the Starting Out with series of textbooks. Tony teaches computer science courses at Haywood Community College in North Carolina. He is a highly acclaimed instructor who was previously selected as the North Carolina Community College "Teacher of the Year,” and has received the Teaching Excellence award from the National Institute for Staff and Organizational Development. Besides C++ books, the Starting Out with series includes introductory books using the Java™ programming language, Microsoft® Visual Basic® .NET, and Microsoft® C#®, all published by Pearson Addison-Wesley.
Table of Contents
CHAPTER 1 Introduction to Computers and Programming 1
CHAPTER 2 Introduction to C++ 27
CHAPTER 3 Expressions and Interactivity 77
CHAPTER 4 Making Decisions 155
CHAPTER 5 Looping 243
CHAPTER 6 Functions 323
CHAPTER 7 Introduction to Classes and Objects 407
CHAPTER 8 Arrays 503
CHAPTER 9 Searching, Sorting, and Algorithm Analysis 595
CHAPTER 10 Pointers 637
CHAPTER 11 More About Classes and Object-Oriented Programming 695
CHAPTER 12 More on C-Strings and the string Class 789
CHAPTER 13 Advanced File and I/O Operations 837
CHAPTER 14 Recursion 899
CHAPTER 15 Polymorphism and Virtual Functions 933
CHAPTER 16 Exceptions, Templates, and the Standard Template Library (STL) 971
CHAPTER 17 Linked Lists 1021
CHAPTER 18 Stacks and Queues 1069
CHAPTER 19 Binary Trees 1109
Appendix A: The ASCII Character Set 1139
Appendix B: Operator Precedence and Associativity 1143
Appendix C: Answers to Checkpoints 1145
Appendix D: Answers to