Features
- Unbeatable formula for learning C++ from scratch: Easy-to-understand chapters, well-crafted examples, and step-by-step instructions on downloading and installing a free C++ compiler
- Co-author Rogers Cadenhead has a proven track record for teaching beginning programmers in an approachable yet highly engaging manner
- The sixth edition of this international best seller includes new and updated material to take into account the new C++11 and C++14 standards
- Copyright 2017
- Dimensions: 7" x 9-1/8"
- Pages: 480
- Edition: 6th
-
Book
- ISBN-10: 0-672-33746-0
- ISBN-13: 978-0-672-33746-8
Sams Teach Yourself C++ in 24 Hours is a hands-on guide to the C++ programming language. Readers are provided with short, practical examples that illustrate key concepts, syntax, and techniques.
Using a straightforward approach, this fast and friendly tutorial teaches you everything you need to know, from installing and using a compiler, to debugging the programs you’ve created, to what’s new in C++14.
Step-by-step instructions carefully walk you through the most common C++ programming tasks
Quizzes and exercises at the end of each chapter help you test yourself to make sure you’re ready to go on
Learn how to...
- Install and use a C++ compiler for Windows, Mac OS X, or Linux
- Build object-oriented programs in C++
- Master core C++ concepts such as functions and classes
- Add rich functionality with templates and lambda expressions
- Debug your programs for flawless code
- Learn exception and error-handling techniques
- Put to use the new features in C++14, the latest version of the language
- Create and use templates
- Control program flow with loops
- Store information in arrays and strings
- Declare and use pointers
- Use operator overloading
- Extend classes with inheritance
- Use polymorphism and derived classes
- Employ object-oriented analysis and design
Online Sample Chapter
Organizing the Parts of a Program in C++
Sample Pages
Download the sample pages (includes Hour 2 and the Index.)
Table of Contents
-
Hour 1: Writing Your First Program
-
Hour 2: Organizing the Parts of a Program
-
Hour 3: Creating Variables and Constants
-
Hour 4: Using Expressions, Statements, and Operators
-
Hour 5: Calling Functions
-
Hour 6: Controlling the Flow of a Program
-
Hour 7: Storing Information in Arrays and Strings
-
Hour 8: Creating Basic Classes
-
Hour 9: Moving into Advanced Classes
-
Hour 10: Creating Pointers
-
Hour 11: Developing Advanced Pointers
-
Hour 12: Creating References
-
Hour 13: Developing Advanced References and Pointers
-
Hour 14: Calling Advanced Functions
-
Hour 15: Using Operator Overloading
-
Hour 16: Extending Classes with Inheritance
-
Hour 17: Using Polymorphism and Derived Classes
-
Hour 18: Making Use of Advanced Polymorphism
-
Hour 19: Storing Information in Linked Lists
-
Hour 20: Using Special Classes, Functions, and Pointers
-
Hour 21: Using New Features of C++
-
Hour 22: Employing Object-Oriented Analysis and Design
-
Hour 23: Creating Templates
-
Hour 24: Dealing with Exceptions and Error Handling