Book description
C++ remains a popular object-oriented language and Sams Teach Yourself C++ in 10 Minutes provides a quick, focused way to learn the language. The author assumes no prior programming experience and begins by showing the reader the absolute fundamentals of what a program is and guides the readers to write their very first program. It covers all the important topics in C++ and provides a sold foundation on which to build programming knowledge. The material is reorganized to fit proven teaching techniques with about thirty percent of the text rewritten. All examples are new to comply with the current ANSI C++ standard and make them completely compatible with all popular compilers.
Table of contents
- Copyright
- About the Authors
- Acknowledgments
- We Want to Hear from You!
- Introduction
- Getting Started
- Output to the Console—Standard Output
- Calculations
- Numeric Input
- if Statements and Program Decisions
- Exception Handling
- Functions
- Separating Code into Modules
- do/while Loops
- Nested Loops and Complex bool Expressions
- switch Statements, static Variables, and runtime_errors
- Arrays, Loops, and the Increment and Decrement Operators
- Storage: Heaps, Stacks, and Pointing
- Testing
- Structures and Types
- File I/O
- Classes: Structures with Functions
- Refactoring the Calculator with Classes
- Implementing the Calculator as Classes
- The Rest of the Calculator as Classes
- Function and Operator Overloading
- Inheritance
- Object Testing Using Inheritance
- Abstract Classes, Multiple Inheritance, and Static Members
- Templates
- Performance: C++ Optimizations
- Wrapping Up
- Operators
- Operator Precedence
- Index
Product information
- Title: SAMS Teach Yourself C++ in 10 Minutes SECOND EDITION
- Author(s):
- Release date: May 2002
- Publisher(s): Sams
- ISBN: 0672324253
You might also like
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 24 Hours, Third Edition
Sams Teach Yourself C++ in 24 Hours, Third Edition extends to the beginning C++ programmer the …
book
C++ FAQs, Second Edition
In a concise and direct question-and-answer format, brings you the most efficient solutions to more than …