开发者

Replacing console aplication interface with an MFC

开发者 https://www.devze.com 2023-03-01 22:23 出处:网络
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 d

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

精彩评论

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

关注公众号