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
Access™ 2007 VBA Bible: For Data-Centric Microsoft® Office Applications
Learn how to tap the full potential of Access 2007 Transfer Access data seamlessly between Microsoft …
book
Python for Programmers, First Edition
The professional programmer's Deitel® guide to Python® with introductory artificial intelligence case studies Written for programmers …
book
C++ Data Structures and Algorithms
Learn how to build efficient, secure and robust code in C++ by using data structures and …
book
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …