A self-teaching book-disk package leads users through the programming fundamentals of the C++++ language as well as the Macintosh computer, showing how to write, edit, compile, and run C++++ programs on the Mac. Original.
Author(s): Dave Mark
Publisher: Addison-Wesley
Year: 1993
Language: English
Pages: 449
Table of Contents
Preface
Acknowledgments
Chapter 1 - Welcome Aboard
What's in the Package?
Why Learn C++?
What Should I Know to Get Started?
What Equipment Do I Need?
The Lay of the Land
Strap Yourself In...
Chapter 2 - Installing THIN C++
Installing THIN C++
Testing THIN C++
Features of THIN C++
Summary
Chapter 3 - Remembering C
Literal Constants
Variables
Operators
Statements
Functions
Preprocessor Directives
Comments
Summary
Chapter 4 - Introducing C++
Getting C Code to Run under C++
New Features of C++
The // Comment Marker
Handling Input and Output
Default Argument Initializers
Reference Variables
Function Name Overloading
The new and delete Operators
The Scope Resolution Operator
inline Functions
Summary
Chapter 5 - Object Programming Basics
The Organizational Power of the Struct
Encapsulating Data and Functions
Creating an Object
Accessing an Object's Members
Deleting an Object
Writing Member Functions
Access Priveleges
Bringing It All Together
Friends
Summary
Chapter 6 - Derived Classes
Inheritance
Access and Inheritance
Derivation, Constructors, and Destructors
Base Classes and Constructors with Parameters
Overriding Member Functions
Summary
Chapter 7 - Operator Overloading
The Operator Overloading Alternative
A Few Restrictions
Covering All the Bases
Special Cases
Summary
Chapter 8 - Inside iostream
The Character-Based Interface
The iostream Classes
Working with Files
The iostream State Bits
More File Info
Customizing iostream
Formatting Your Output
Using Manipulators
istrstream and ostrstream
Summary
Chapter 9 - C++ Potpourri
Templates
The Templates Approach
Multiple Inheritance
Resolving Ambiguities
Initialization Versus Assignment
Memberwise Initialization
Summary
Chapter 10 - Moving On
The User Interface
The Macintosh Toolbox
Class Libraries
Books and Other Reference Material
Go Get 'Em
Appendix A - Glossary
Appendix B - Source Code Listings
Appendix C - fstream.h
Appendix D - iomanip.h
Appendix E - iostream.h
Appendix F - strstrea.h
Appendix G - Unofficial C++ Style Guide
Appendix H - The Complete Symantec C++ Development Environment
Appendix I - Bibliography
Index