简体   繁体   English

如何启动c ++ mfc应用程序

[英]how to start c++ mfc application

i work last 3 years on c#. 我在c#上工作了3年。 now for some reason i have to make some MFC cpp application. 现在由于某种原因,我必须制作一些MFC cpp应用程序。 so what u people suggest for me. 所以你们给我的建议。 is it harder then c#? c#比它更难吗? how can i begin? 我该怎么开始? in c# i started just making some puzzle game do i follow the same for it? 在c#我开始制作一些益智游戏我是否也遵循相同的原则? what is the best way to learn MFC c++? 学习MFC c ++的最佳方法是什么? where i can find the resource? 在哪里可以找到资源?

MFC does not really hide the fact that it is built upen the Win32 API. MFC并没有真正隐藏它是用Win32 API构建的事实。 So, the answer to your question really depends on whether you have been exposed to this API and if so how familiar you are with it. 因此,您的问题的答案实际上取决于您是否已经接触过这个API,如果是这样,您对它的熟悉程度如何。

When I used to program MFC (those were the days...) it really helped me understand to create an application without any help of any wizard. 当我以前编程MFC(那些日子......)时,它确实帮助我理解在没有任何向导帮助的情况下创建应用程序。 That is obviously not to say, that I wouldn't ever suggest using the wizard. 这显然不是说,我不会建议使用向导。

The book I used to learn MFC was Programming Windows with MFC by Jeff Prosise. 我以前用来学习MFC的书是由Jeff Prosise 用MFC编程Windows

The Scrible Tutorial, currently at http://msdn.microsoft.com/en-us/library/aa716527%28VS.60%29.aspx is not bad, either. 目前位于http://msdn.microsoft.com/en-us/library/aa716527%28VS.60%29.aspx的Scrible教程也不错。

Also check this thread: MFC resources / links . 还要检查此线程: MFC资源/链接

MFC and C++ are harder than C#. MFC和C ++比C#更难。 It's very powerful but has a learning curve. 它非常强大但有学习曲线。

I would suggest you read the documentation on "Model/View Architecture" then use the wizard in visual studio to create an example application to use as a model. 我建议你阅读“模型/视图架构”的文档,然后使用visual studio中的向导创建一个用作模型的示例应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM