开发者

Replacing console aplication interface with an MFC

I have a phone-book program written in C++, that uses the MVC model, now what I want is to replace the View component, that's basically开发者_如何学编程 the console window, with an MFC. How would I do that?


Following is a schematic representation of MVC. View component is lossely coupled from the Model and the Controller and that is the whole point behind MVC design pattern. Without changing the external interfaces of View, you should be easily able to replace internal implementation by MFC. And that is what you should do.
The question is very broad to answer anything more in detail, If you can post a sample code then probably we can help you better.

Replacing console aplication interface with an MFC

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜