A path for getting started with VC-shi reyin _ VC technical Article _ VC _ Software Programming

Source: Internet
Author: User

Stanley (iamsor@sohu.com)


First, I declare that I am not a master, that is, I just got rid of poverty. Thanks to luck, I have bought a few good books, and I have hardly taken any detour in the course of study. I am just getting started without any effort. Now I can get started with General small programs. I hope my articles will help me to find my friends who are struggling because they don't know where to start.

It's hard to learn programming. When I come to school, VC must be a gray one. It's hard to say that VC is difficult. If it is hard and strong-willed, it may be able to survive, but it also lacks stamina and has to go back and study the basic knowledge. If you are not strong enough, you may give up and leave a rare impression on VC. In fact, as long as you step by step, VC is very easy. Here I will explain that if you are still a junior high school student, you should think carefully. First of all, it should be okay to study C language with your knowledge and thinking abilities limited, but it is a great effort to learn VC. What you have learned will be outdated in the future. Therefore, it is better to focus on Algorithm Research. After all, these things will never be outdated.

I think it would be enough for a summer vacation to get started with VC.

Although learning VC is not as difficult as a legend, it cannot be learned without any effort. Before learning VC, you must be sure that you are learning VC because you love programming, not because you are showing off or others. Otherwise, I'm afraid you won't survive the day of victory.

For those who first came into contact with programming, I suggest learning Quick BASIC first (the QBASIC is included in DOS.... loop... the most basic knowledge, such as NEXT, can calculate a factorial and obtain points. The key is to understand how computers execute commands and have a perceptual knowledge of programming. If you are confident in yourself, you can also directly learn C ++. It should not be too costly. However, I think there is a lot of information FOR VB, and Web programming is commonly used FOR VB scripts. You may also need to use VB in the future, so it will be helpful to know some BASIC. In addition, it would be much easier to calculate a question using QB than VC or VB. (You should be able to solve this problem after one or two days)

Then I suggest reading a book about the early and High School informatics ausai (some strange ). These books explain the basic algorithms, but they are easy to understand. These things are systematically and strictly explained in the Data Structure course, so you can study them later. However, I think writing some small programs at this stage and implementing some common algorithms will be a good exercise for my own thinking and will be of great benefit to future studies. I think, I can sort the data, find an eight-queen, count it as a tower, and search for depth and breadth first.

If you already have some basic programming knowledge, you can skip the above two steps.

After you have a certain understanding of programming, you should start to enter C ++. Note that C ++, not VC, is not the same thing! Don't buy VC entry. You certainly don't understand it! C ++ is a language, while the VC tutorial explains how to use the MFC class library. Learning VC should be based on a full understanding of C ++.

I think it is better to buy the C ++ tutorial of the university than many colorful books and baby books (Note: Do not buy the grade exam tutorial, which is used for testing ), most of those tutorials have been honed over and over again. They are relatively systematic and contain a great amount of gold and are not too expensive. Here I strongly recommend a "C ++ Programming Tutorial" published by Tsinghua University Press. The cover is red and the back cover is yellow. It looks simple and the editor is Qian Neng. This book is really good and cheap (39.5 yuan ). This book not only tells you the syntax, but also tells you why you want to set the syntax in this way. After reading this book, you will feel that many of the regulations are taken for granted. You don't have to bother to remember them, but it will make a sense of beauty. There are still many practical programming issues in the book, which are of great value. This book is also equipped with "tutorial Guide" and "exercise set", but it is of little use for people with certain programming experience, so I didn't buy it. In addition to this book, I suggest buying another book about the traditional C language, which should focus on the following aspects: Compilation preprocessing, use of typedef, bitwise operation, use of standard library functions (it is best to have a more detailed list for better query when using it ).

C ++'s standard template is a good stuff, but it is not helpful for learning MFC, because MFC is too backward (^_^), you can put it first, do you want to make a decision when you get the MFC ready. Although I have never learned it, I think it is quite good and represents a development direction. Although it is hard to learn (it seems like a little C ++, it is simply learning a new language), but mastering it can make programming much easier.

After learning C ++, should I learn VC? Don't worry. First, look for a WIN32 programming book. This time, I don't have to pay attention to it. It's almost the same. It's cheaper. If you have an introduction to the VC integration environment, it's best. WIN32 programming refers to the use of windows api programming. MFC is a class library encapsulated by a large number of API functions, which makes it much easier to use. However, without some API programming basics, I am not familiar with related concepts. It may be difficult to learn MFC. Believe me, you will not feel that learning API programming is a waste of time in the future. More than two thousand API functions must be exhausted. In fact, you only need to know how to create a window, dialog box, control, and message loop, and understand the meaning of the handle. It is better to know a little about GDI programming. The key to this stage is to understand how WIN32 programs operate and grasp the relationship between various windows. Since you should rarely write programs directly using WIN32 SDK in the future, the key is to understand the overall structure and remember several functions. The function can be queried now. We should have a comprehensive copy of the information at hand. The Chinese API function book seems to only support For VB, but it seems there should be no obstacle. It is available in MSDN, which is comprehensive and more detailed than Chinese. I suggest you use Chinese documents for quick search. If you have any questions, try again in English. (I forgot where I downloaded my html version of the Chinese API Daquan, but I sold it in a bookstore, it's white, it's a thick copy, it's very expensive.

Related Article

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.