Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
The following will be discussed in this chapter: Compilers, compilers vs interpreters, structure of compiler, compilation phases, compiler construction tools, a simple syntax directed translation, syntax directed translator, attributes, lexical analyzer, parsing, intermediate code, symbol table. | LESSON 28 Overview of Previous Lesson(s) Over View Microsoft Foundation Classes (MFC) A set of predefined classes upon which Windows programming with Visual C++ is built. Represents an oo approach to Windows programming that encapsulates the Windows API. MFC does not adhere strictly to the object – oriented principles of encapsulation and data hiding. 3 Over View A document A document is the collection of data in our application with which the user interacts. A document object can have many view objects. A view Each view object can provide a different presentation of the document data or a subset of the same data. 4 Over View. SDI and MDI programs The Application Wizard can generate single-document interface (SDI) applications that work with a single document and a single view. Multiple - document interface (MDI) programs that can handle multiple documents with multiple views simultaneously. 5 Over View A view is an object that provides a mechanism for displaying some or all of the data stored in a document. It defines how the data is to be displayed in a window How the user can interact with it. Application view class be derived from the MFC class Cview. The window in which a view appears is called a frame window. 6 Over View MFC incorporates a mechanism for integrating A document with its views & Each frame window with a currently active view. A document object automatically maintains a list of pointers to its associated views. A view object has a data member holding a pointer to the document that relates to it. 7 TODAY’S LESSON Contents Executable Code for MFC program Creating MFC Applications Creating an Executable Module MDI Applications 9 Project Files 19 files shown in the project, excluding ReadMe.txt. Can view the contents of any of the file. Contents of the file selected are displayed in the Editor window. 10 Viewing Classes CTextEditorDoc shows the Class View pane in its docked state 11 Viewing Classes Select Global Functions and Variables. The . | LESSON 28 Overview of Previous Lesson(s) Over View Microsoft Foundation Classes (MFC) A set of predefined classes upon which Windows programming with Visual C++ is built. Represents an oo approach to Windows programming that encapsulates the Windows API. MFC does not adhere strictly to the object – oriented principles of encapsulation and data hiding. 3 Over View A document A document is the collection of data in our application with which the user interacts. A document object can have many view objects. A view Each view object can provide a different presentation of the document data or a subset of the same data. 4 Over View. SDI and MDI programs The Application Wizard can generate single-document interface (SDI) applications that work with a single document and a single view. Multiple - document interface (MDI) programs that can handle multiple documents with multiple views simultaneously. 5 Over View A view is an object that provides a mechanism for displaying some or all of .