更新时间:2021-07-02 12:02:41
封面
Microsoft Visual C++ Windows Applications by Example
Credits
About the Author
About the Reviewer
Preface
What you need for this book
Who this book is for
Conventions
Reader Feedback
Chapter 1. Introduction to C++
The Compiler and the Linker
The First Program
Comments
Types and Variables
Expressions and Operators
Statements
Functions
The Preprocessor
The ASCII Table
Summary
Chapter 2. Object-Oriented Programming in C++
The Object-Oriented Model
Classes
Inheritance
Dynamic Binding
Arrays of Objects
Pointers and Linked Lists
Operator Overloading
Exceptions
Templates
Namespaces
Streams and File Processing
Chapter 3. Windows Development
Visual Studio
The Document/View Model
The Message System
The Coordinate System
The Device Context
The Registry
The Cursor
Serialization
Chapter 4. Ring: A Demonstration Example
The Application Wizard
Colors and Arrays
Catching the Mouse
Drawing the Rings
Setting the Coordinate System and the Scroll Bars
Catching the Keyboard Input
Menus Accelerators and Toolbars
The Color Dialog
Chapter 5. Utility Classes
The Point Size and Rectangle Classes
The Color Class
The Font Class
The Caret Class
The List Class
The Set Class
The Array Class
Error Handling
Chapter 6. The Tetris Application
The Tetris Files
The Figure Class
The Figure Information
Chapter 7. The Draw Application
Draw.cpp
The Resource
The Class Hierarchy
The TwoDimensionalFigure Class
The LineFigure Class
The ArrowFigure Class
The RectangleFigure Class
The Ell ipseFigure Class
The TextFigure Class
The FigureFileManager Class
The Document Class
The View Class
Chapter 8. The Calc Application
Calc.cpp
Formula Interpretation
The Spreadsheet
Chapter 9. The Word Application
Word.cpp
The Page