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
Learning Modern C++ for Finance
A lot of financial modeling has gravitated toward Python, R, and VBA, but many developers hit …
book
Modern CMake for C++
Write comprehensive, professional-standard CMake projects and ensure the quality and simplicity of your solutions Purchase of …
book
Clean C++20: Sustainable Software Development Patterns and Best Practices
Write maintainable, extensible, and durable software with modern C++. This book, updated for the recently released …
book
Build Your Own Programming Language
Written by the creator of the Unicon programming language, this book will show you how to …