C + + VB6.0 is not a purely object-oriented language, it's a language based on the image. In other words, the simplicity of the image, the removal of some language elements (such as inheritance, downloading ...) that may be difficult for beginners to understand. Make the habit of using a program that is designed for the process language is developed to be more focused.
But it is because of the usability of basic that the use of VB6.0 to develop software is ignored when it is based on the image of support. This is like the way we used to write programs in C, once we switched to C + +, the program was written or the function was used, a little bit of the idea of the image is not there, but only to use some c+ + The key word just. In fact, the object oriented approach is the abstraction of things, and the direct result of this abstraction is to improve the reusability of the codes, and bring a certain degree of stability at the same time. Not conceal, facing the image is not to solve all the problems of the spiritual Dan Myrrh, but under certain conditions, it is to avoid less.
So we use VB to develop software, we should use the idea of base on the image. First, the desired function is abstracted, then sealed, and finally through the path of creating the image.
In VB sometimes although you may not have created a classmodule, this does not mean that there is no image in your code. In fact, if there is a form in the project, then you have class.
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.