MFC Phase Learning Summary

Source: Internet
Author: User

Because of the project requirements, need to use C + + development software, so began to learn C + +, the focus is MFC, because it is the form of application, feel Win32 more trouble, or MFC convenient point. As for why use C + +,

Because C + + applications do not require customer additional installation environment and encryption measures more secure (this is not a language dispute, don't be serious).

Or come back to say MFC, because of C + + (a few) and a certain C # experience, so learning is still more optimistic. In NetEase Cloud class above saw, video tutorial "Lu Xin: VC + + Employment Training Treasure of MFC video Tutorial".

But too much time, fortunately thanks to the leadership of the company to allow me to work, watching video tutorials, learning, learning more than 30 hours, feel almost, of course, can not only study, no task, work tasks or some, there is software need to maintain. In this way, the muddle, two weeks or so. began to develop ...

1, interface, this is OK, and C # WinForm, just drag and drop, modify properties, set initialization content.

2, then, the system executes, need to use some of the content, find information, write test code, Socket analog HTTP, Chinese encoding, non-main thread and communication between threads, memory write and read, thread Simple object modification lock, use DAO to read the database (the first ADO, But the XP system is out of the question, no way the result ... such as Of course, do not understand Baidu, there is to ask some of their own know the master and group inside the master (but I joined some of the group are compared to the pit, advertising, hair diagram, chat, answer the question can only hehe).

3, there is one more thing I would say, C + + learning I think the larger piece is a good string. In fact, we write a lot of software, deal with the most type is the string, C + + string type too much, you feel this is a pit,

CString, std::string, BSTR, CHAR, WCHAR, ... And the way they are in lowercase, please let go of my spit groove.

Collection, use Carray<>,cstringarray, etc.

Appendix:

Do not know how to write, of course, there are many places do not understand, can only do so, after meeting again to get ...

Finally thank you for all the help friends

I think it is positive energy, so from the candidate area, to the home page.

MFC Phase Learning summary

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.