Synopses & Reviews
The best-selling C++ tutorial - updated for the latest standards, and enhanced to be even more engaging for beginners
Teaches C++ as a first programming language, through short, simple chapters that can be completed in no more than an hour each Includes well-crafted, up-to-date, and concise examples, and provides a C++ compiler to test them Contains new and revised material that reflects the forthcoming new C++ language standard
Sams Teach Yourself C++ in 24 Hours, 5/e, will help C++ beginners gain true mastery over the latest version of the C++ standard. In this book's straightforward, step-by-step approach, each lesson builds on everything that's come before, helping readers learn C++'s core features and techniques from the ground up. Friendly, accessible, and conversational, this book offers a practical grounding in the language, without ever becoming overwhelming or intimidating. Readers master key concepts, syntax, and techniques through short, practical examples that reflect today's best practices and cross-platform language standards. Coverage includes: organizing C++ programs; using variables, constants, expressions, statements, operators, and functions; controlling program flow; working with arrays and strings; creating basic and advanced classes; managing memory; using operator overloading; working with inheritance, polymorphism, and linked lists; reading and writing IO; employing object-oriented analysis and design; creating templates; handling exceptions and errors; and much more. By the time readers are finished with this book's lessons, they won't just understand C++: they'll be comfortable using it in real-world projects.
Synopsis
"Sams Teach Yourself C++ in 24 Hours, Fourth Edition" is a hands-on guide to the C++ programming language. Readers are provided with numerous examples of syntax and detailed analysis of code, an excellent guide for beginning programmers. In just 24 hours, readers will learn about such fundamentals as managing I/O, loops and arrays, object-oriented programming, templates, 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. Sams Teach Yourself C++ in 24 Hours, 4th Edition has been updated to the new ANSI/ISO C++ Standard and includes coverage of namespaces, the Standard Template Library and distributed computing. This edition is non-compiler specific and has received a double technical edit to ensure code integrity.
Topics covered include: Adding rich functionality with linked lists and templates.Building object-oriented programs.Debugging your programs for flawless code.Learning exception and error-handling techniques.Making your code ANSI compliant for easy reuse.
Synopsis
This up-to-date guide to C++ programming is all you need to teach yourself the basics in 24 hours. Jesse Liberty's Sams Teach Yourself C++ in 24 Hours is a hand-on guide complete with examples of syntax and detailed analysis of code. By the end of the book, you will have learned the fundamentals of C++, including managing I/O loops and arrays, object-oriented programming, and creating C++ applications. A CD is included that provides you with all the source code needed to develop the samples in the book as well as the Cygnus Insight Debugger and the Dev-C++ IDE. Join over 250,000 readers who have learned C++ programming from Jesse Liberty!
About the Author
Jesse Liberty is the author of numerous books on software development, including best-selling titles in C++ and .NET. He is the president of Liberty Associates, Inc., www.LibertyAssociates.com, where he provides custom programming, consulting and training.
David B. Horvath, CCP is a senior consultant in the Philadelphia, Pennsylvania area. He has been in the field for more than 15 years and is also a part-time adjunct professor at local and distance-learning universities teaching such topics as C++, Unix/Linux and Database Techniques. He received his masters of organizational dynamics from the University of Pennsylvania in 1998. He has provided seminars and workshops to professional societies and corporations on an international basis. David is the author of UNIX for the Mainframer (Prentice-Hall/PTR), coauthor of Sams Teach Yourself C++ for Linux in 21 Days (with Jesse Liberty), contributing author to Unix Unleashed (several editions including cover credit), Red Hat Linux Unleashed (many editions), Learn Shell Programming in 24 Hours, Linux Unleashed Fourth Edition, Linux Programming Unleashed Second Edition and has written numerous magazine articles. He is also an active volunteer in the community and professional societies.
Table of Contents
Introduction.
I: INTRODUCING C++.
Hour 1: Getting Started.
Hour 2: The Parts of a C++ Program.
Hour 3: Variables and Constants.
Hour 4: Expressions and Statements.
Hour 5: Functions.
Hour 6: Program Flow.
II: CLASSES.
Hour 7: Basic Classes.
Hour 8: More About Classes.
III: MEMORY MANAGEMENT.
Hour 9: Pointers.
Hour 10: Advanced Pointers.
Hour 11: References.
Hour 12: Advanced References and Pointers.
IV: POWER TOOLS.
Hour 13: Advanced Functions.
Hour 14: Operator Overloading.
Hour 15: Arrays.
V: INHERITANCE AND POLYMORPHISM.
Hour 16: Inheritance.
Hour 17: Polymorphism and Derived Classes.
Hour 18: Advanced Polymorphism.
Hour 19: Linked Lists.
VI: SPECIAL TOPICS.
Hour 20: Special Classes, Functions, and Pointers.
Hour 21: The Preprocessor.
Hour 22: Object-Oriented Analysis and Design.
Hour 23: Templates.
Hour 24: Exceptions, Error Handling, and More.
VII: APPENDICES.
Appendix A: Binary and Hexadecimal.
Appendix B: Glossary.
Index.