1. The document discusses the design of DM and different approaches to message handling, including an Old Msg Selector, DLL Factory, and Object Message Factory.
2. Issues with the Old Msg Selector approach include difficulty in debugging, duplicative code across messages, and inability to reuse logic.
3. The DLL Factory approach separates message implementation from the server base but makes debugging harder.
4. The Object Message Factory approach uses a MessageProcessorFactory and base MessageProcessor class to better separate and reuse message handling logic.
The document discusses font settings for different windows in Visual C++ 6. It specifies font faces like Monaco, Verdana, and Fixedsys for calls window, output window, source window, and others. It also provides hexadecimal color codes for styling elements like text, selection, keywords, and comments in the code editor. The font settings are stored in the Windows registry under HKEY_CURRENT_USER\Software\Microsoft\Devstudio\6.0\Format.
This document discusses methods for finding and extracting substrings from a CString object in C++. It covers the Find() function, which searches for a substring within the CString and returns its index or -1 if not found. Using Find(), it demonstrates how to retrieve the substring to the left, right, or between two search terms. It also notes some considerations for Find(), such as it returning 0 when searching for an empty string.
14. 本書35章提供書單
The Practice of Programming
專注於程式撰寫細微末節的實務面,補足了學術上的電
腦科學知識和實用課程之間的空白。
它包含撰寫程式設計的型態、設計、除錯及測試的議
題。
它假設讀者對C和C++的語言很熟。
翻譯本:
簡中:程序設計實戰 繁中:程式專家手冊