Joke Collection Website - Talk about mood - About how to learn programming, please tell me how you learned it at the beginning, and now you are all programmers.
About how to learn programming, please tell me how you learned it at the beginning, and now you are all programmers.
Everyone who is a beginner in programming is confused, especially those who have never used a computer at all. This is simply more difficult than going to heaven! ! But since he can do it, why can't he learn it? . . Here are some skills I learned, which will help you after washing:% d% a. %D%A Many people feel at a loss about learning C language, and often ask me the same question: How to learn C language? I am a college student and have been developing programs for many years. Like many beginners, the first computer language I learned was C. After several years of development, I deeply realized how important C language is to a programmer. It sounds almost ridiculous to want to write low-level programs without knowing C language. If you don't know C language, it is impossible to write excellent and efficient programs. Why is C language so important? %D%A First of all, the grammatical structure of C language is very concise and exquisite, and the written program is also very efficient and easy to describe the algorithm. Most programmers are willing to describe the algorithm itself in C language, so if you want to make achievements in programming, you must learn it. % D% one second: C language allows you to go deep into the bottom of the system. Which operating system do you know is not written in C language? All windows, Unix, Linux, Mac and os/2 are both internal and external. If you don't know C language, how can you penetrate these operating systems? Not to mention you write their kernel program. % D% one-third: Many new languages come from C, C++, Java, C#, J#, perl ... Which one is not? Mastering C language can be said to have mastered many languages. After simple learning, we can use these new languages to develop, which proves again that C language is an important foundation of programming. Also, say a little more: even if we recruit programmers now, the exams will all be in C language. If you want to join the it industry, you must master the C language. %D%A So how on earth did you learn C language? %D? If you want to do a good job, you must sharpen your tools first. %D%A Here are some things necessary for learning C language: %D%A development environment, such as turbo C 2.0, once occupied more than half of development programs in the DOS era. However, in the windows era, using turbo C has some disadvantages, such as very difficult editing programs, dragging and dropping, no automatic sensing function of function variables, and inconvenient query of reference materials. It is recommended to use Visual C++, which is relatively bulky, but once installed, it is very convenient to use. %D%A is a learning course, and there are many textbooks in C language now, but I recommend you to program in C language, the second edition edited by Tan Haoqiang, Tsinghua University Publishing House. This book is very suitable for beginners and its content is very accurate. %D%A In addition, there are many software to assist learning. After all, now is the window age, and there are many learning softwares, unlike when we were studying, we just read books and do problems. I recommend an "integrated learning environment (C language)", in which knowledge points are summarized and routines are explained well, and there is also an item bank testing environment. It is said that there are thousands of problems, and there is even a trubo C under windows. Beginners can practice programming without installing other compilers, which is very suitable for beginners. There is also a "C language learning system" software, but it feels like a question bank system. If you think the problem is not done enough, you might as well try. %D? What is the best way to learn computer language? Answer: Watch the program. %D%A Yes, reading program is the fastest and best way to learn C language. Like me, learning new languages such as J#, C# and C # is no longer eating books line by line, but learning their routines. Of course, for beginners who haven't learned any computer language, it's best to read the tutorial first, and after learning each chapter, you should carefully understand all the concepts in this chapter, then don't let go of all the routines mentioned in this chapter, study the program carefully until each line is understood, and then find a few programming topics, preferably similar to or the same as the routines, and try to write the program you have already seen. Don't think you saw the routine. You can write the same program as it, absolutely not. Try it if you don't believe me. Don't worry if you can't write it. Go back and continue to study the routine and think about why you can't write it. Then write this program again and again until it is written correctly. Congratulations, you will start soon. %D? Reach the peak %D%A The highest level of programming is actually to master various means (data structures) and methods (algorithms) to solve problems. Is %D%A a master programmer who writes low-level programs? No, writing low-level programs is nothing more than mastering the hardware structure. Besides, hardware is different from hardware. Writing a driver to a chip is nothing more than mastering various registers and their combinations of this chip, and then writing and reading values, that's all. This is just getting familiar with some io functions. So what is proficient in programming? How can I master programming? For example, there are 10 people in front of you. Find a person named Zhang San. What should you do? The first method: directly ask this person 10: "Who is Zhang San?". The second method: You ask, "Are you Zhang San?" Until the person who asked was Zhang San. The third method: You ask everyone, "Do you know Zhang San? Show me. " Don't underestimate this problem. You said you would definitely choose the first method. Congratulations on your correct answer, because this method is the fastest and most efficient. However, finding the best way to solve the problem and the means you use in programming is an important sign to test a programmer's programming level, which is not easy to achieve. The problem and data structure just now are similar to those in the algorithm: mapping data structure, exhaustive search and semi-search. Therefore, mastering the data structure and some commonly used algorithms is the only way to reach the peak. Finally, I recommend Yan Weimin's Data Structure to Tsinghua University Publishing House. I hope everyone who wants to be a master programmer will study this book. [Editor: Zhao Jinjun] %D%A Second, language learning methods %D%A Talking about my learning methods will attract more attention! % D% A subject, whether you speak or not, can be learned in the end. But others learned it in 1 month, while you learned it in 100. Isn't that too late? Therefore, learning should pay attention to methods. Correct learning methods can get twice the result with half the effort; Incorrect learning methods get twice the result with half the effort. %D%A What are the shortcuts to learning C language? My answer is reading. Everything written in the book is written by the experience of the previous ten years. Reading ten books is equivalent to learning the skills of the previous ten years, and your internal strength will also rise rapidly 1. Of course, you should read the book. Only good books are nutritious. If you spend 1 day reading a broken book, the knowledge introduced in the book is brand new to you, but you get little nutrition because of improper organization or insufficient depth in the book, so you might as well study it once a day, so such books are not worth reading. What good books should I read to learn C language? I think we should first take care of the basic books, such as the four books introduced in the four books and five classics of C language. Although many of these books are out of print, I believe the electronic version is also very beneficial. Besides, if you really want to see it, I believe you can get it. You will finish reading these books in a short time (say, one or two months), depending on your foundation and understanding. What books do you want to read after that? I might as well list a few more.
- Related articles
- Say 30 sentences about leaving a place to make friends.
- How to do dizziness when acupuncture?
- Compliments of a woman's beautiful eyebrows
- Please ask a friend with very good English to help me translate this speech. It is a gift to help me translate smoothly and aesthetically, and express the meaning of the original text.
- Good words and sentences describing human eyebrows
- What is the significance of being the first in the NBA West this year?
- What words will be written down in mobile qq?
- Your best. Tell me about it.
- What broke the defense?
- What are the professions of those who are still working during the Spring Festival?