Book description
Sams Teach Yourself C++ in 24 Hours, Third Edition extends to the beginning C++ programmer the promise of a solid and thorough tutorial broken down into consistent, manageable lessons of one hour each. The readers can master the core concepts and techniques of C++ programming at their own pace. The book covers all the basics, from introducing C++ syntax to developing C++ classes to introductory OOP concepts in a non-threatening, positive approach.
Table of contents
- Copyright
- About the Author
- Acknowledgments
- Tell Us What You Think!
- Introduction
-
Introducing C++
- Getting Started
- The Parts of a C++ Program
- Variables and Constants
-
Expressions and Statements
- Statements
- Expressions
- Operators
- Combining the Assignment and Mathematical Operators
- Increment and Decrement
- Precedence
- Nesting Parentheses
- The Nature of Truth
- Relational Operators
- The if Statement
- Use Braces in Nested if Statements
- Logical Operators
- Relational Precedence
- More About Truth and Falsehood
- Summary
- Q&A
- Functions
- Program Flow
- Classes
- Memory Management
-
Power Tools
- Advanced Functions
- Operator Overloading
-
Arrays
- What Is an Array?
- Array Elements
- Writing Past the End of an Array
- Fence Post Errors
- Initializing Arrays
- Arrays of Objects
- Multidimensional Arrays
- A Word About Memory
- Arrays of Pointers
- Declaring Arrays on the Heap
- A Pointer to an Array Versus an Array of Pointers
- Pointers and Array Names
- Deleting Arrays on the Heap
- char Arrays
- strcpy() and strncpy()
- String Classes
- Summary
- Q&A
- Inheritance and Polymorphism
- Special Topics
- Appendices
- Index
Product information
- Title: Sams Teach Yourself C++ in 24 Hours, Third Edition
- Author(s):
- Release date: August 2001
- Publisher(s): Sams
- ISBN: 9780672322242
You might also like
book
Sams Teach Yourself C++ in One Hour a Day, Seventh Edition
Learn C++ in Just One Hour a Day Completely updated for the C++11 standard, Sams Teach …
book
Sams Teach Yourself C++ in 24 Hours, Sixth Edition
Sams Teach Yourself C++ in 24 Hours is a hands-on guide to the C++ programming language. …
book
Sams Teach Yourself C++ in 21 Days , Fifth Edition
A new edition of this title is available, ISBN-10: 0672329417 ISBN-13: 9780672329418 Join the leagues of …
book
SAMS Teach Yourself C++ in 10 Minutes SECOND EDITION
C++ remains a popular object-oriented language and Sams Teach Yourself C++ in 10 Minutes provides a …