Some additional instructions on Object-Oriented windows programming practices

Source: Internet
Author: User
It's hard to finish writing "Object-Oriented windows programming practices (top and bottom)". Of course I have some unfinished words here.

I don't have messageloop macros. Are you very disappointed?
If there is no inheritance, and no virtual resources are provided for you, are you very disappointed?
Do you think it is too simple, or do you still have some questions?

Here, it is not a complex OOP encapsulation, and I don't have the ability to make it into a class library like Borland,
I just want to say that programming doesn't have to be stuck on Microsoft's MFC. MFC is a devil and we never know its true nature.
Of course, you will think that using C language + Win32 API programming requires your life. So, why don't you try C ++ Win32 API programming ??
I think, in this case, yourProgramThe context is clear, and you have a clear and complete grasp of your program. You can reuse your class, you can inherit, as long as you have the imagination !!!~

Also, VC ++ 6.0 is just a tool, not a language. it is just a compiler. It may not support the C ++ standard of 100%, but it should support at least 91% of C ++ standards, of course, it supports the macros that Microsoft uses most !! ~~
I admit that Microsoft's macros are very powerful. I also admit that the imagination and creativity of the masses are infinite. Using VC ++ as a good compiler and C ++ as a cannon, I believe that we are still doing well.

If you want to break away from the VC ++ tool, I recommend Dev-CPP, a free C ++ compiler. although it is written in dephi, it supports C ++, which is no worse than VC ++. It uses mingw as its compiler, which is used in xnix systems.

In addition, let me talk about the details: My optical drive is broken, so I cannot install VC ++, and I cannot download VC ++ 6.0 on the Internet, because I have no patience, after the download again to install what Virtual Drive, annoying me, So I installed a Dev-CPP, its website is http://www.bloodshed.net

Recently, my mindset has changed a lot. I don't think it would be very tiring to press a few more keyboards, So I no longer rely on the very easy-to-use classwizard of Microsoft, this is exactly the classwizard that Dev-CPP lacks. I think. by the wayCode, Basically using a copy part, comments are temporarily added.

I hope everyone will like it and criticize and correct it !!~~~~

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.