Click here to Skip to main content
15,939,960 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi, I'm new to Windows programming. I would like to create a simple program to get a users name, store it and then display it using an SDI or MDI MFC app in VS2010 C++. I think once I get the basics of controlling Windows down then I can take off. I HOPE :-)

I have searched MSDN and other web sites trying to find a MFC example that would show me exactly what to do. I want to create a class, for example, class Person with Name, Phone, Email, members then populate the members, store them in a document and display them on the screen. I just need some help putting my code in the right places. I can do all of this with C++, C#, Basic, VB, COBOL, but when I create a MFC project in Windows using VS2010 I get lost in all the Windows verbage. I guess what I'm asking is, what do I need in the ProgramDoc.cpp, ProgramView.cpp and header files? Sorry in advance for being ignorant and long winded.
Updated 23-May-11 13:32pm
Sergey Alexandrovich Kryukov 22-May-11 23:58pm    
Where is your question? Do you have an idea of the help you're hoping to get?
Legor 23-May-11 8:45am    
There are PLENTY of very good tutorials in the internet. For VS Programming especially on the MSDN.
Did you tried some of these?

1 solution

If you have a copy of the purchased version of Visual Studio you can easily create a fully functional MFC program from the new project wizard. There are also many samples to be found on the MSDN[^] web site.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900