This week is relatively idle, so I want to learn some knowledge to enrich myself. If you want to start programming,Programming LanguageThere are many types, such as VB, Delphi, VC ++, easy language, and assembly. But I chose VC ++. Why? Because I think it is a little difficult to learn VC ++, why not to learn more difficult compilation? In fact, it is useless to learn and it is more difficult to learn.
In fact, it is not a tutorial. I just want to talk about my vc ++ learning experience. Because I cannot even get started, I strongly recommend that new users learn, if you are a master, please give me some advice.
What is the purpose of learning programming?
In reality, when you talk to some computer friends about computersProgramPeople will think that you are a master, so 1. At the very least, you will program that you are a master in the eyes of others, to satisfy your vanity. 2. Programming and writing software can sell money. (Note: Although common software does not make money, writing plug-ins and Trojans can make money ). 3. When your programming level reaches a certain level, you can find a better career,Do you know what Bill Gates rely on to make money? He is writing computer programs..
What is the relationship between VC ++ and C?
C language is a programming tool under DOS, and VC ++ is short for Visual C ++, that is, visual programming. It is a programming tool under the Windows graphic interface. The relationship between the two is basically like DOS to windows, that is, theoretically VC ++ is compatible with C language.
C language is a basic knowledge. It is better if you have a good C language in college. Of course, if you are not a beginner in C language, you do not need to study C language again.
In fact, what I want to emphasize here is that they have no inevitable or causal relationship. If you want to learn VC ++, you do not have to learn C language.
What are the advantages and disadvantages of VC ++?
Advantage: His programming is basically C language, with strong compatibility and portability. The program is efficient, which is why some schools take the VC ++ tutorial for learning.
Disadvantage: compared with other programming tools, learning is much more complicated and requires a lot of professional system knowledge.
What is the relationship between VC ++ and MFC?
Through this week's self-learning, I found that VC ++ is MFC, MFC is VC ++, and learning VC ++ programming is to write the MFC program.
MFC is a Microsoft Foundation Classes. If you don't understand it, you don't have to understand it. You will naturally understand it later.
I have taken the online tutorials and some VC ++ textbooks. They first talked about the principles of VC ++ and windows program, I don't want to learn it after reading it.
OK. The above are some basic things. I should try to explain them with my own solutions. If you need to look at professional explanations, you can search for relevant professional words (for example: MFC ).
As a beginner tutorial of VC ++, I will teach you how to use VC ++ to create a program today.
Note: I have installed VC ++ 6.0 in Simplified Chinese version. If you have installed it in English version, please refer to the instructions below.
1. open VC ++, click "file"-"New" in the menu, select "MFC Appwizard (exe)" in "project", and enter the new name after the project name, and select the location for saving the project.
Project name: Using VC ++ to develop software is not just a file, but a collection of multiple files.
2. After setting and filling in the information, click "OK" to display the MFC wizard step. Select "Basic dialog box" and click "finish ". A confirmation dialog box is displayed. Click "OK" after confirmation ".
3. at this time, the VC ++ interface is changed, and a "software network" folder is automatically displayed on the desktop, it stores all the files of the newly created MFC project. (Because I saved my files on the desktop, they will appear on the desktop. If my files are saved in another location, this project will automatically appear at the saved location you set)
4. at this time, we click the 05 icon on the toolbar on the VC ++ interface. During this period, we will prompt whether we need to compile the program. If we select "yes", the program we just created will be automatically compiled, run the command, as shown in.
If you follow the steps I mentioned, the interface shown below will appear, which means that your first VC ++ program is successfully created.
At this time, we find our project directory. For example, my project directory is a directory called "software network" on the desktop, and we double-click it. We can see that there is a directory named "includebug‑in", and we can see our newly compiled program ". This program is our new program. You can simply double-click it to run it.
Finally, I learned programming at the cainiao level, starting from 0. The above is just my opinion. This article can only be considered as a small note to learn VC ++, if you think it is good, please leave a message and provide more support. Let's learn VC ++ together.
From: http://www.ruanjian5.com/software/47/n-847.html