Read this before learning programming.

Source: Internet
Author: User

ArticleIt is rare to see this in Tianya from Tianya's blog.

1. the purpose should be clear

First, determine your purpose to engage in future Program Designing a career is just to cope with the examination, or to learn more knowledge and hope to lay a good foundation.

2. Book Selection

Since the purpose has been determined, it is very important to select a book. The content here is for your reference.
As mentioned above, the purpose should be clear, and books should be chosen based on the purpose.


To engage in programming, we recommend that you purchase the C how
Program. This book emphasizes the absolute standardization of programming and has a good start to standardize programs in the future workplace. Why are Indian programmers so popular in the world?
Because they have a unified writing format, this will greatly improve the enterprise's program development cycle.

To cope with the test, we recommend that you purchase "C program design" By Tan haoqiang. The purpose of this book is to cope with today's China Computer Examination, rather than letting you use the C language skillfully in the workplace, in addition, it is not recommended that people who want to study C language should purchase this book because of poor connection to related C ++ books.

In order to learn the C language and lay the foundation for the future, we recommend that you purchase the C programming language from kernighan and Ritchie, which provides you with all the requirements for C language.

3. Use the dumbest way to learn

After buying a book, the rest is learning. Method? The most stupid method is the most effective method. In fact, the method for learning C language is to read the books above repeatedly (of course, some content should be recited to cope with the test ), if you do not know how to read it again, you can read it again until you read it. If you need a shortcut, you can ask how many years of C language Eris studying.

4. Do more exercises


Don't be tired. Every book has a lot of exercises. This is a great help for you to understand the content of the chapter. What if there is no answer? Is there an output example? Compile it on your C compiler to see the result.
If it is the same as what you need, repeat it until the correct result is obtained. Because each chapter has different content, you can finish the subsequent content and then re-improve the original C program. Without knowing it, your level
Great progress has been made. If you don't have any questions, you can leave them aside. After you finish the following chapter, you may have solved the problem!

5. read and write programs

After the above steps, you can easily solve the problems in the book. Now you should go online and read the program source code, write your ideas or write new programs until you have your own style.

6. learning interesting mathematical questions

You may be surprised, but you may need to go back to the questions in the small safflower mathematics competition in elementary school. All interesting mathematical problems can be solved through programming, you don't actually need a level of advanced mathematics (in fact, you don't need to use it in programming for most advanced mathematics problems), but you need to cultivate good logic capabilities.

7. Reject QQ

Do not think that QQ friends can solve problems for you. When you go to QQ, most of the time is spent chatting, so it is better to refuse QQ than to waste time, in fact, this is not to let you refuse QQ, but to reject all instant chat software, because it will delay you a lot of time. Stick to the principle and never use these software without chatting.

8. Do not stop

When you reach a certain level, the rest of the content is constantly learning. Every day, you need to find related new C language technologies and others' experiences to see if they can help you. Remember, no matter how advanced the technology is, in the IT industry, it can be turned into fossil Technology for five months.

To learn more about computers, you must learn programming.

1. What language should I learn?

VB, Vc, Delphi, Java ...... Face a variety Programming Language Are you confused? What should I learn? "Learn VC !" Many experts say. It is also very convincing.
Example: "It takes only two months to learn VB and one year to learn VC. If you want to learn VB and learn VC first, it will still take one year, but after learning VC, you can learn VB again, it takes less than two months." This sentence is true.
Yes. But can beginners learn VC? How high is everyone? Some beginners regard VC as their own entry language, and only a few people can finally learn the result! We cannot expect anything
Beginners are familiar with windows before getting started with programming. In fact, many people gradually gain a deep understanding of the system in the process of learning programming. If everyone chooses VC
Portal language "......
Beginners should select a language based on their own situations. If you are new to the system, you should learn VB, because VB is very studious and the foundation is the most important. Of course, there are also Delphi, it is between VB and VC. Unless you are familiar with windows, don't rush to learn VC, so you will be nervous.

2. Do not learn multiple languages at the same time

Have you ever tried to learn English, Russian, German, Polish, French, and Japanese at the same time? In the end, it turns into a duck. The same is true for programming. If you are smart, then you can learn VC, VB,
Delphi, etc. No one will block you, but what if you are a beginner? Let's make a duck. At the same time, it is better to learn such a variety of languages and learn exactly the appropriate language! Beginners often use all languages
Let's take a look at it. Even more, if you are unfamiliar with some concepts, you can learn everything. In the face of them, I have to be ashamed of myself, but I still want to advise them: no one can go to heaven in just the same way! Don't think at the same time
It is "Glorious" to learn a variety of languages. In the end, you may still be able to learn more.
No matter which language you want to learn, you must learn it well and think about other things. Don't worry. If you want to learn VB, at least be familiar with it.
When you are programming with vband proficient in using APIs, you should learn other languages. Learn VC and pay more attention to it. Otherwise, you can only "learn nothing without knowing anything" at last ", it is easy to deal with difficulties when learning only one language.
But are you sure you don't have any problems if you want to learn so many ways at the same time? Be careful when you have problems with several languages!

3. Have opinions
Many beginners love to follow the tide
When the stream goes, he will follow what is popular outside (chasing the "ghost" family ?) Today, VB is popular. He will learn VB. If Delphi is popular tomorrow, he will forget VB, and then go to VB. NET, C #...... Cloud,
As the stream goes by, "experts" say what language is good, and he will jump to what language, "walking at the forefront of technology", but what can he learn at the end? Not only did I lose watermelon, but I didn't even pick up a green bean. This year, "the world is changing fast ",
I know, but how does it change with it? I don't know how to change you to today's John, and tomorrow's Li Si, right? The idea of "the moon is going, I am also going" is not necessary, don't worry about what is popular outside, if not needed by the public, you just want to learn
You just need to learn the language.

4. Not to mention other languages
It is often said that "XX language is poor and there is no future for learning !" I'm afraid you're the only one to comment on.
? Why do you mean it is poor? No language is perfect. Even if it is "poor", as long as it has not been declared completely obsolete by the outside world, there is a reason for its existence! Someone once said to me: "My teachers often
Educating me, VB is too bad, so I should forget what I have learned before ." Not to mention that this guy is playing with the stream. It's cool just for his teacher. Well, I don't know which senior expert is his teacher in the circle? Just for fear
Triangle cat! Although VB has some limitations, its syntax is well understood, and database programming is very convenient. It can also complete some complex work with APIs, which is called a difference? How many
Isn't an excellent program written in VB's "No Future" language? How many programmers do not need VB? Do you see that they have no future?

5. indispensable Teaching Materials

Although we have always had the training of "do your best to believe in books and do not have any books" since ancient times, we should not "have no books! Maybe you are smart, and you don't need teaching materials on your own computer, but you can learn to compile your computer based on phenomena and experience.
Can Cheng explore it out of thin air? I don't even know the concepts of variables and processes. Can I still understand the meaning of for (I = 1; I <50; I ++? To learn programming, you must not have enough teaching materials.
Buy, so you 'd better stop learning. Another point is that I personally think it is too fragmented for online tutorials. Even a complete ebook should not be read as much as possible (unless you can't buy it). Do you have to write it at the same time? Code
Alt + TAB on one side? I would rather read a book slowly than stare at the screen for half a day! Current City
The teaching materials on the face are uneven. It is obviously not enough to buy one, and basic and advanced materials must be bought.
Come back and study it slowly. Should I have at least three more? For a book with a market price less than 20 yuan, it is best not to consider it. Look at its thickness! The thickness of a book is usually proportional to the amount of gold? You do not need to), it is best to choose some
For books published by common publishers, do not buy rare books. The quality is not guaranteed! One of my colleagues bought a 20 yuan junk copy, and the whole book didn't even have a complete routine.
Door ", mistaken! Now I am reading the Chinese Visual Basic 6.0 dummies published by Tsinghua University Press I lent him.
TIPS: If you don't know what books to buy, you 'd better find a master to help you select the book. If you don't have a master, you can find a thick one! Or the book name contains "Troubleshooting" or "API". These books are generally of good quality.

6. about English

Because most languages use English as their native language, some beginners are discouraged. But is English very important for programming? In fact, programming requires very little English, and it is a relatively basic vocabulary syntax.
General English is different. Even if you cannot even read an English article, you don't have to worry about "no" if you have a basic English language "! (Of course, the premise is that some basic words such as if, for, next,
While, include, and so on must be well understood; otherwise, you should study a little English first.) even if the English language is good, you will not be able to understand the program source code even if you have never learned programming.
Strcomp is equal to string compare? Learning programming has nothing to do with the level of English. We are learning programming instead of English!

7. Programming taboos-assembly

The greatest convenience of VB is that it can be well combined with Activex. MS and third-party vendors have developed many ActiveX controls for Vb, providing good learning opportunities for beginners.
Scholars are satisfied with this. When a program uses a lot of other people's controls and adds a little trivial code, they think they have learned programming, but they don't know how to get started! ActiveX is something made by others,
How much code is written for your use! Don't imagine ActiveX is omnipotent. In another aspect, ActiveX is a burden of VB! What's amazing if ActiveX is used? Will API? Generation of complex points
Will the code be written? Will ActiveX be developed by myself? To use a general Dialog Box program, only the showopen method of comdlg32.ocx is used, but not
The getopenfilename API is used to open the program. Using ActiveX will put a lot of OCX on your program, increasing program overhead. Even worse, ActiveX will cause
Many unexpected errors, such as control expiration and control not being registered, will make your program unable to run. Many beginners cannot understand the relationship between ActiveX and program files.
The ActiveX required by the program is omitted, causing the program to be unable to run in other environments.
Cracker has become the biggest headache for me because I have to use two ActiveX methods (some cannot be done without ActiveX). If a control error occurs in a program, the author
No corresponding controls are provided, so all I have to do is delete this program! I would like to remind you that writing a program is not an assembly! Do not think that using VB to draw a form, add a few ActiveX to learn programming,
You haven't even reached the programming threshold!

8. Step by step
Many beginners are eager to write some advanced code at the beginning, but ignore the most important
Basics: they may be enthusiastic, maybe eager to learn programming, but fail to calm down and learn the basics of programming. This will lead to more time and fewer gains. For example, you just got started, not even a simple program
Will do it, even if I give you all the Trojans Source code (Who wants the code of a dictatorship? Haha) How much can you understand? No one can write a program without a solid foundation. Of course
Although learning VB and Delphi does not require specialized basic and Pascal, learning VC cannot help learning C/C ++, otherwise, you will go forward very hard! Don't believe anything
What kind of "Quick Start" and "Learn XXX in 24 hours" are pig-feeding! Experience must be accumulated through practice. It is not just about theory. programming is not about making you talk on paper. You do not need to practice much at ordinary times. Do not write any good programs!
When learning, you must start with simple programming. First, you must be familiar with simple programming. On this basis, you must write Advanced programs. If you encounter problems, do not be scared, try to overcome it (unless it is due to language limitations ),
If you cannot do it for the moment, you can leave it for a while, but don't forget it. After you learn a higher level of technology, you will get twice the result with half the effort by looking back at the previous difficulties.

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.