The importance of C language to programming learning

Source: Internet
Author: User

C Language for beginners to learn to feel more difficult to control, especially the wrong pointer error, it is unprepared. It is troublesome to introduce more than n libraries to achieve the design of the shape. So many people "avoid" C language learning, directly to learn the upper language, such as: Php,js,java.

But in the end it will be found that things are not as good as expected, and many things appear inexplicable and incomprehensible ... For example, the string in the upper language is a good example, a lot of good use of the appearance of the user has brought convenience, but why so appear? How exactly did the string come from?

These problems are more mysterious, so the rest is to recite, a bunch of recitation, increased the burden of learning, reduced interest in learning, into one of the distress.

So, want to hide, but hide. Because C language learning is a necessary way to enter the field of programming.

When you open a C language in college, you may be "motivated to be impure", not explaining why you should learn, or explaining that you didn't feel or remember.

Learn C language is not the end of the time to recite a few test questions, is not the superior test of the last programming problem, and even get a full score can be measured. That is purely to take credit, in order to cope with the exam, there is a great distance from the learning.

Learn the meaning of C: The Essential Learning foundation of the programming industry.

Although it introduces more than n libraries can be used to develop more complex graphics programs, such as: Tetris, such as: operation of the Database interface, but its meaning is not to develop a graphical interface. Because the same function, you may have to develop a lot of days, but others PS or write a few JS can be more than your effect, such as: http://www.phpkhbd.com/sky.html or: Http://www.phpkhbd.com/full_ Cyy.html This effect of course not with C language to achieve, not can not, is not should, otherwise similar to irrelevantly replying, irrelevant.

Do the embedded interface, you are constantly introducing a variety of libraries, the error of a large area may not have appeared, others qt a few things more beautiful than you. So the purpose of C language learning is not to develop a cool effect. But is to give you to look through the programming of the red dust, let you know the top language in the sudden use of those who should be able to come.

Although it does not have the assembly language so detailed to show you the memory allocation process, such as: how the main function is transferred, the function calls the process of memory change details, interrupt the process of detailed changes. But it can show you the upper-level concept of why a pointer is present, why the pointer looks like that, how the string comes, and what the list is?

How come there's a list? These are good guidelines for upper-level languages, which can make you less likely to learn in the process of learning the upper language. Because it's basically how to use the "restore original." So you are more troublesome and boring to use, such as:

char* p= "Ningcaichen";

When you p[0]= ' N ';

, it is more troublesome than the upper language. But this does not mean that the C language primitive is meaningless, on the contrary, there is learning and instructive significance, it can tell you how the string came out. When you know it, you can see that it was in a constant area defined by the character set, and the pointer can not manipulate the constant, so error, then the upper language is how to do p[0]?

In fact, the upper language does not violate this rule, but re-apply for the address, re-copy those characters, so it can be solved. But the upper-level language just shows you the results, hiding the wrong things, so there is a confusing use of the string of convenience. So the upper language is useful, but it is more mysterious. If you do not understand, you can only recite the rest. The back of the head is big ...

Learning C does not mean that you have to use C to find a job, but rather to learn a wide range of upper-level languages, such as PHP. Therefore, the study and the job search is often the same thing, a long-term planning of the programming enthusiasts, will abandon the programming language of the sectarianism, to achieve mastery, like fearless unified martial arts, in Shanghai, founded "Jing Wu Door" ...

The objective law is this, the programming industry is a mastery of the industry, technology does not divide, to want to make a contribution in the upper language, to become an elite, and finally to turn back, the fall of the sooner or later is to fill back!

Continue to focus on: C Language Learning methods


This article is from the "C Language good cool" blog, please be sure to keep this source http://ningcaichen66.blog.51cto.com/2902291/1962867

The importance of C language to programming learning

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.