Microsoft Visual C++ Windows Applications by Example. Code and explanation for real-world MFC C++ Applications - Helion
ebook
Autor: Stefan BjornanderTytuł oryginału: Microsoft Visual C++ Windows Applications by Example. Code and explanation for real-world MFC C++ Applications
ISBN: 9781847195579
stron: 440, Format: ebook
Data wydania: 2008-06-26
Księgarnia: Helion
Cena książki: 139,00 zł
Osoby które kupowały "Microsoft Visual C++ Windows Applications by Example. Code and explanation for real-world MFC C++ Applications", wybierały także:
- Windows Media Center. Domowe centrum rozrywki 66,67 zł, (8,00 zł -88%)
- Ruby on Rails. Ćwiczenia 18,75 zł, (3,00 zł -84%)
- Przywództwo w świecie VUCA. Jak być skutecznym liderem w niepewnym środowisku 58,64 zł, (12,90 zł -78%)
- Scrum. O zwinnym zarządzaniu projektami. Wydanie II rozszerzone 58,64 zł, (12,90 zł -78%)
- Od hierarchii do turkusu, czyli jak zarządzać w XXI wieku 58,64 zł, (12,90 zł -78%)
Spis treści
Microsoft Visual C++ Windows Applications by Example. Code and explanation for real-world MFC C++ Applications eBook -- spis treści
- Microsoft Visual C++ Windows Applications by Example
- 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
- Customer Support
- Downloading the Example Code for the Book
- Errata
- Questions
- 1. Introduction to C++
- The Compiler and the Linker
- The First Program
- Comments
- Types and Variables
- Simple Types
- Variables
- Constants
- Input and Output
- Enumerations
- Arrays
- Pointers and References
- Pointers and Dynamic Memory
- Defining Our Own Types
- The Size and Limits of Types
- Hungarian Notation
- Expressions and Operators
- Arithmetic Operators
- Pointer Arithmetic
- Increment and Decrement
- Relational Operators
- Logical Operators
- Bitwise Operators
- Assignment
- The Condition Operator
- Precedence and Associativity
- Statements
- Selection Statements
- Iteration Statements
- Jump Statements
- Expression Statements
- Functions
- Void Functions
- Local and Global Variables
- Call-by-Value and Call-by-Reference
- Default Parameters
- Overloading
- Static Variables
- Recursion
- Definition and Declaration
- Higher Order Functions
- The main() Function
- The Preprocessor
- The ASCII Table
- Summary
- 2. Object-Oriented Programming in C++
- The Object-Oriented Model
- Classes
- The First Example
- Car.h
- Car.cpp
- Main.cpp
- The Second Example
- BankAccount.h
- BankAccount.cpp
- Main.cpp
- The First Example
- Inheritance
- Person.h
- Person.cpp
- Student.h
- Student.cpp
- Employee.h
- Employee.cpp
- Dynamic Binding
- Main.cpp
- Person.h
- Person.cpp
- Student.h
- Student.cpp
- Employee.h
- Employee.cpp
- Main.cpp
- Arrays of Objects
- Pointers and Linked Lists
- Stacks and Linked Lists
- Cell.h
- Cell.cpp
- Main.cpp
- Stack.h
- Stack.cpp
- Main.cpp
- Stacks and Linked Lists
- Operator Overloading
- Rational.h
- Rational.cpp
- Main.cpp
- Exceptions
- Exception.cpp
- Templates
- TemplateCell.h
- TemplateStack.h
- Main.cpp
- Namespaces
- Streams and File Processing
- TextStream.cpp
- Input.txt
- Output.txt
- BinaryStreams.cpp
- Summary
- 3. Windows Development
- Visual Studio
- The Document/View Model
- The Message System
- The Coordinate System
- The Device Context
- The Registry
- The Cursor
- Serialization
- Summary
- 4. Ring: A Demonstration Example
- The Application Wizard
- Colors and Arrays
- RingDoc.h
- Catching the Mouse
- RingView.cpp
- RingView.cpp
- RingDoc.h
- RingDoc.cpp
- Drawing the Rings
- RingView.cpp
- Setting the Coordinate System and the Scroll Bars
- RingView.cpp
- RingView.cpp
- RingView.cpp
- RingDoc.h
- RingView.cpp
- Catching the Keyboard Input
- RingView.cpp
- Menus, Accelerators, and Toolbars
- RingDoc.h
- RingDoc.cpp
- RingDoc.cpp
- RingDoc.cpp
- The Color Dialog
- RingDoc.cpp
- The Registry
- RingDoc.cpp
- Serialization
- RingDoc.cpp
- RingDoc.cpp
- Summary
- 5. Utility Classes
- The Point, Size, and Rectangle Classes
- The Color Class
- Color.h
- Color.cpp
- The Font Class
- Font.h
- Font.cpp
- The Caret Class
- Caret.h
- Caret.cpp
- The List Class
- List.h
- The Set Class
- Set.h
- Set.cpp
- Set.h
- The Array Class
- Error Handling
- Check.h
- Check.h
- Summary
- 6. The Tetris Application
- The Tetris Files
- The Square Class
- Square.h
- The Color Grid Class
- ColorGrid.h
- ColorGrid.cpp
- The Document Class
- TetrisDoc.h
- TetrisDoc.cpp
- Th e View Class
- TetrisView.h
- TetrisView.cpp
- The Square Class
- The Figure Class
- Figure.h
- Figure.cpp
- The Figure Information
- FigureInfo.cpp
- The Red Figure
- The Brown Figure
- The Turquoise Figure
- The Green Figure
- The Yellow Figure
- The Blue Figure
- The Purple Figure
- Summary
- The Tetris Files
- 7. The Draw Application
- Draw.cpp
- The Resource
- The Class Hierarchy
- The Figure Class
- Figure.h
- Figure.cpp
- The TwoDimensionalFigure Class
- TwoDimensionalFigure.h
- TwoDimensionalFigure.cpp
- The LineFigure Class
- LineFigure.h
- L ineFigure.cpp
- Line Figure.cpp
- LineFigure.cpp
- The ArrowFigure Class
- ArrowFigure.h
- ArrowFigure.cpp
- The RectangleFigure Class
- RectangleFigure.h
- RectangleFigure.cpp
- RectangleFigure.cpp
- The Ell ipseFigure Class
- EllipseFigure.h
- EllipseFigure.cpp
- The TextFigure Class
- TextFigure.h
- TextFigure.cpp
- The FigureFileManager Class
- FigureFileManager.h
- FigureFileManager.cpp
- The Document Class
- DrawDoc.h
- DrawDoc.cpp
- The View Class
- DrawView.h
- CDrawView.cpp
- Summary
- 8. The Calc Application
- Calc.cpp
- The Resource
- Formula Interpretation
- The Tokens
- Token.h
- The Reference Class
- Reference.h
- Reference.cpp
- The ScannerGenerating the List of Tokens
- Scanner.h
- Scanner.cpp
- The ParserGenerating the Syntax Tree
- Parser.h
- Parser.cpp
- The Syntax TreeRepresenting the Formula
- SyntaxTree.h
- SyntaxTree.cpp
- The Tokens
- The Spreadsheet
- The CellHolding Text, Value, or Formula
- Cell.h
- Cell.cpp
- The Cell MatrixManaging Rows and Columns
- CellMatrix.h
- CellMatrix.cpp
- The Target Set Matrix Class
- TSetMatrix.h
- TSetMatrix.cpp
- The CellHolding Text, Value, or Formula
- The Document/View Model
- The Document Class
- CalcDoc.h
- CalcDoc.cpp
- The View Class
- CalcView.h
- CalcView.cpp
- The Document Class
- Summary
- 9. The Word Application
- Word.cpp
- The Resource
- The Line
- Line.h
- Line.cpp
- The Position
- Position.h
- Position.cpp
- The Paragraph
- Paragraph.h
- Paragraph.cpp
- The Line
- The Page
- Page.h
- Page.cpp
- The Document Class
- WordDoc.h
- CWordDoc.cpp
- The View Class
- WordView.h
- CWordView.cpp
- Summary