This eBook includes the following formats, accessible from your Account page after purchase:
EPUB The open industry format known for its reflowable content and usability on supported mobile devices.
MOBI The eBook format compatible with the Amazon Kindle and Amazon Kindle applications.
PDF The popular standard, used most often with the free Adobe® Reader® software.
This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.
Also available in other formats.
Register your product to gain access to bonus material or receive a coupon.
Sams Teach Yourself C++ in One Hour a Day is the latest edition of the bestselling Sams Teach Yourself C++ in 21 Days.
Updated and reworked to improve the introductory material and examples, this book is still one of the best hands-on tutorials for the C++ programming language.
The book's numerous examples of syntax and detailed analysis of code provide solid instruction for beginning programmers. Readers new to programming will learn about such fundamentals as managing I/O, loops and arrays, object-orient programming, templates, and creating C++ applications -- all in well-structured and easy-to-follow lessons. Each lesson provides numerous code listings, complete with sample output and an analysis of the code, to illustrate the topics covered in the lesson.
This new edition is non-compiler specific, is up to date with the latest C++ standard, C++14, with all examples fully tested against 2015 versions of Microsoft C++ and GNU C++ compilers.
Part I: The Basics
1 Getting Started
2 The Anatomy of a C++ Program
3 Using Variables, Declaring Constants
4 Managing Arrays and Strings
5 Working with Expressions, Statements, and Operators
6 Controlling Program Flow
7 Organizing Code with Functions
8 Pointers and References Explained
Part II: Fundamentals of Object-Oriented C++ Programming
9 Classes and Objects
10 Implementing Inheritance
12 Operator Types and Operator Overloading
13 Casting Operators
14 An Introduction to Macros and Templates
Part III: Learning the Standard Template Library (STL)
15 An Introduction to the Standard Template Library
16 The STL string Class
17 STL Dynamic Array Classes
18 STL list and forward_list
19 STL Set Classes
20 STL Map Classes
Part IV: More STL
21 Understanding Function Objects
22 Lambda Expressions
23 STL Algorithms
24 Adaptive Containers: Stack and Queue
25 Working with Bit Flags Using STL
Part V: Advanced C++ Concepts
26 Understanding Smart Pointers
27 Using Streams for Input and Output
28 Exception Handling
29 Going Forward
A Working with Numbers: Binary and Hexadecimal
B C++ Keywords
C Operator Precedence
E ASCII Codes