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?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Following is a schematic representation of MVC.
Viewcomponent is lossely coupled from theModeland theControllerand 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.