We generated the code with the Application Wizard.
The
Reference
class keeps track of references in the spreadsheet.The
Scanner
class group characters together into tokens, the least significant parts of the formula. TheToken
class represents the tokens.The
Parser
class parses the tokens given by the scanner and generates a syntax tree (an object of theSyntaxTree
class).The
Cell
class handles a single class in the spreadsheet. A cell can hold a test, a value, or a formula. TheCellMatrix
andTSetMatrix
methods handle the cells and the target sets of the spreadsheet.CCalcDoc
manages the internal logic of the application. The application is always in the edit or mark state. In the edit state, a caret is visible. In the mark state, one or more cells are marked.CCalcView
handles the input and display of the application. In this case, the view class handles the marking of cells by itself.
Microsoft Visual C++ Windows Applications by Example
By :
Microsoft Visual C++ Windows Applications by Example
By:
Overview of this book
Table of Contents (15 chapters)
Microsoft Visual C++ Windows Applications by Example
Credits
About the Author
About the Reviewer
Preface
Free Chapter
Introduction to C++
Object-Oriented Programming in C++
Windows Development
Ring: A Demonstration Example
Utility Classes
The Tetris Application
The Draw Application
The Calc Application
The Word Application
Index
Customer Reviews