1. Develop applications that need to read and write files, and use the single-document view structure for simple input and output.
2. To develop a simple interactive application, you can use a dialog box-based window. CFile can be used for simple file read/write.
3. Develop simple applications that focus on interaction and complex file reading and writing. The single-document view structure based on CFormView can be used.
4. Use the dialog box to obtain user input data. After the level is increased, you can use local input.
5. Avoid the multi-document view structure as much as possible when there are no strong requirements for multiple documents. You can use separators to generate a single-document multi-view structure.
6. Use the multi-document view structure when data is transferred between multiple documents.
7. Learn to use subwindows and include multiple controls in the Custom subwindows to encapsulate the functions.
8. Avoid using multi-document and multi-view structures whenever possible.
9. Do not use multi-inheritance and minimize the number of features encapsulated in a class.