What do we need? When we have traveled in a wonderful game world, or are amazed by the small and exquisite tools and software, there will always be some programming impulse. Programming? In the past, if you were a layman in the computer, it was really impossible. If you use a DOS-based programming language, such as C, Qbasic, Pascal, and so on, I do not know how many months can be achieved.
Programming requires talent. You must have a clear outline and an efficient process for the entire program in your brain. This is not what everyone can do. You must think carefully, this also makes programming the most boring thing. But after the emergence of the fourth generation of computer language (Visual Programming), we can say that it has developed more talents, not limited to those with clear minds, everyone can find that they can also compile some programs that never dared to worry about. The full use of their imagination is the essence of the fourth generation of language.
Visual Basic (hereinafter referred to as VB) can be said to be a pioneer in visual language, and it is also the highest degree of visualization, from the days when VB was born a few years ago to the present, it has already gone through five versions, and now Microsoft is nervously developing and testing VB6.0. Such a high update rate is nothing more than two problems: users' enthusiasm for VB, microsoft attaches great importance to VB. It is undeniable that Microsoft's ability to predict the market is extremely brilliant, and its powerful technical and financial support also makes it in many fields that have not previously entered, in a short time, I became the most powerful competitor. For example, in the browser field, the age of Empire is the best example for games. For VB, there is also a strong competitor, DDDelphi. Some people call it the VB killer. This is obviously extreme. VB does have its shortcomings, but Delphi does not, in addition, Microsoft's interest in VB makes VB more and more powerful.
The birth of VB
The emergence of VB can be said to be the inevitable product of the increasingly mature Microsoft Windows. Microsoft Windows provides a common human-machine interface for programmers and end users. Windows provides a graphical and mouse operating environment for users, which is the same for all applications. For programmers, windows provides a set of predefined tools, called Microsoft Windows Software Development Toolkit (SDK), which enables programmers to build an application that is the same as the Windows interface, programmers do not have to worry about end users' hardware configurations. In this development environment, the only difficulty for programmers is that the MicrosoftSDK provides more than six hundred functions and event-driven programming technologies. The intersection of the two new methods has brought many programmers into trouble again. programmers should not only master the program-driven programming technology and more than six hundred functions, but also use C language to describe these problems. Therefore, programmers generally need to master the C programming technology before learning the SDK. In this case, a convenient operation is required in the Microsoft multi-task environment. Therefore, Visual Basic, a simple new tool, is born.
What is visualization
Visual refers to "Visual". The name "visible Baisc" may be abstract, but in fact it is the most intuitive programming method. It is called "Visual ", as long as you see the VB interface, you will understand that, in fact, you can complete many steps without programming. The concept of controls is introduced in VB. Controls are everywhere in Windows. Various buttons, text boxes, and wireless buttons are all types of controls. VB models these controls, each widget has several attributes to control the widget's appearance and working methods. In this way, you can just click a few mouse clicks on the canvas, just like on the canvas, and a button will be done. These tasks have to go through quite complicated work in the previous programming languages.
My hopes:
I have encountered many difficulties in learning VB, and most of the reference books used come from translations. After all, the expressions of Americans and Chinese people are different. This also makes it difficult to understand, so I think why can't I write a VB tutorial for Chinese people? So I did it. I have published several articles in magazines that use VB to create applets. However, due to the limitations of the magazine (length, content, and so on ), there was no chance to systematically introduce VB, which caused a small regret. However, after my own home page is built, this wish can finally be realized. Using HTML, we can easily combine text with images, which is a good place for teaching, we also hope to get your support.
I hope the "VB tutorial" will give you a chance to learn from each other. If you can benefit from it, it will be my greatest pleasure. At that time, you will surely find programming more interesting than games.