C Language/c++ Programming Learning: Do not work in C + + to learn the reasons for C + +!

Source: Internet
Author: User

C language is process-oriented, and C + + is Object-oriented

The difference between C and C + +:

C is a structured language that focuses on algorithms and data structures. The design of the C program is primarily concerned with the output (or implementation process (transaction) control) of the input (or environmental conditions) that is processed through a process.

C + +, the first consideration is how to construct an object model, so that the model can fit with the corresponding problem domain, so that you can get the state information of the object to get output or implementation process (transaction) control. So the biggest difference between C and C + + is that their way of thinking about solving problems is different. C + + is more advanced than C because "the concept of design has been incorporated into C + +".

The biggest difference between C and C + + is that their way of thinking is different for solving problems. The reason that C + + is more advanced than C is because "the concept of design has been incorporated into C + +", and in terms of language itself, in C more is the concept of algorithms. Then C is not important, wrong! Algorithm is the basis of programming, good design if there is no good algorithm, just as not. Moreover, "C plus good design" can also write very good things.

Many people who learn programming think that, especially beginners will think: "I do not find the work of C + +, why learn C + +?" "It's like," I'm not looking for C, why do I have to learn C? "The answer is not that you do not do the work of C + +, but that you do not work in the programming industry. The truth is simple, for example, if you hear that, you probably know why. "I am a math teacher, not a language teacher, so I do not want to learn Chinese" this seems correct, in fact, when you are not good language, your ability to express math is also poor, your math is difficult to achieve much, at least you can not express, communication, many of the source of inspiration is erased. "Youth package of the Blue Sky" has a sentence: Some careless talk, will I puzzled untie. Bao Zheng Solve, not all skills are their own thinking from the beginning, but a lot of people to be reminded, this is the normal logic of thinking. This is a comprehensive category. What you need is to improve your integrated programming skills, not to be confined to a programming language, otherwise the gate programming language brings out bottlenecks that you cannot transcend.

Most of the time, it is not what we do but what we learn, especially in programming this technology industry. Because the science and technology industry is objective, involves the development of a realistic function, it will not give you to distinguish you have to use PHP, or must be Java ...

Small series recommended a learning C language/c++ study Skirt "730, 130, 221", whether you are Daniel or small white, is to change careers or want to join the study together to learn about progress together! The skirt has the development tool, many dry goods and the technical information to share!

Therefore: the society, the compound talent is the precious, the thing to dilute is expensive.

Why is C + +?

C language close to the bottom, its details cumbersome, difficult, elaborated is the process-oriented programming ideas, difficult to use in the real User experience Good project development. Its role is like in the back silently for you to pay for the ugly person, there is she does not feel much, but less and not.

and C + + features: is in the middle language, the next C language, on the Php,java and other high-level language. It's the best way to explore the world of programming.

So, what does the meaning of C + + show in particular?

Of course good C + + programming developers, to find a high-paying job is to do. This is one of the meanings. This is the reason why many people choose to program. In fact, I would like to ask, if programming is not a high-paying industry, there will be many people to learn? So the interest is too heavy, is not a good thing, it will hinder you to grow thought highly far. So, don't look for excuses like "I don't have time," "Everybody's the Same", "I have to get married," "I have to raise a child," because most of these people have experienced, choosing mediocrity is the most common practice, you have too many excuses, the next result is "Everyone is struggling, I should struggle" ... But do you like the ending?

Return is a need to pay, between "want" and "get", also need to "do".

"The thin book read thick, The thick book read thin", I believe everyone has heard this learning method, the latter is difficult to do, because it is necessary to understand the mastery of the summary, is related to the promotion of the realm, but only to achieve the latter, you can get relief. So the best mode of programming life is: into programming, out of programming, beyond programming.

In fact, it is difficult to do is the realm!

So I think the greater significance of learning C + + is to help you explore the nature of programming, the essence of intelligence, so that you can understand from the reality of the need for process-oriented programming ideas, why need object-oriented programming ideas. What the data structure is, what the algorithm is, what the compiler principle is, what the operating system is, and so on, something deeper ...

When everything comes to its natural, you will find the wisdom of computer predecessors, you also learn to program, rather than just learn the C + + programming language!

So, for the C + + category, how to learn C + +? Actually this question should ask you.

You can ask yourself this: do not read any C + + books, to a person who does not understand the computer to tell what C + + is? How many C + + things can you recall? Can you explain to him why there is an object-oriented programming idea? In fact, this is also to urge you to learn the flexible, learn the mastery of a learning method.

Small series recommended a learning C language/c++ study Skirt "730, 130, 221", whether you are Daniel or small white, is to change careers or want to join the study together to learn about progress together! The skirt has the development tool, many dry goods and the technical information to share!

Learning C + + can be detected from these aspects:

1: Compatible with the C language section;

So to learn C + +, must learn C language as the premise. Similarly: to learn the upper language such as Php,js,java, but also must be C + + as the premise. Contrary to this principle, you will encounter technical bottlenecks that cannot be exceeded. You'll get a discount on your programming career. For example, when learning PHP, the difficulty is not in PHP if...else ... These syntaxes are based on such things as PHP's object-oriented, PHP interface, database optimization, server load Balancing, cluster technology, network programming, and so on.

2: Object-oriented Programming thought: Class, inheritance, polymorphism, the origin of these.

3: Generic mechanism.

4: Template mechanism: function template, class template

5: Its standard library STL inside the data structure and algorithms, these content you mainly want to know what they have to implement the scheme, although you do not write, but you have to understand the source, so use to be assured. such as: How to implement Container Vector,list,map?

6: Non-standard libraries, such as: Boost.

Of course, it is also the data structure and algorithm inside it. It's written for you, and you're very often just using an interface. So, familiarity with it is a simple matter. The key is to explore its implementation scenarios.

7: Do several projects, including console, graphical, and further extension of QT programming.

8: Game programming, such as: cocos2d

9:linux Operating System

Although you do not need to develop Linux, but you have to understand Linux, and it involves more things. such as processes, threads, pipelines, queues, messages, communications, and so on.

Learn C + +, not you developed a few console programs, also not developed a few projects can be declared to end, it is a long war, need to have daying Zhang psychological preparation. You have to summarize it into a tree of living knowledge. The meaning of this tree is: When you are a few years later, the grammar basically forgets the light time, to see this knowledge tree can instantly find the feeling.

This is a realm, this state is not by looking at a few books, back a few grammar can be achieved, but to think, to understand, to associate learning, time to think how to digest ...

So learn C + +, a lot of the time is in self-cultivation, spiritual cultivation, like practicing into the Sunflower Treasure book all need to retreat to cultivate the same. Learn to program, and many times also need to retreat to cultivate ... Need inspiration, need wisdom, so I put the current on the understanding of programming, as well as the work of programming, have given a new name: Inspiration programming.

Remember: You learn things not for others to learn, nor to show off to learn, but to make your own survival competitiveness, so that you become the strong. Otherwise in the "jungle, survival of the fittest" environment, you will feel very bitter, bitter home, bitter to the bottomless pit ...

In turn, the world of learning and programming will make you more comfortable, older and more popular. Who do not want in the 30-year-old about the transformation to do and programming unrelated things, just be forced helpless, mainly learning speed to keep up with the knowledge update speed, because did not learn ... Learning through programming, you can be like those of foreign experts, professional and free, not because of age and forced to change, foreign masters are gray hair, and the domestic like eating youth rice, the technical strength of the saved down can be imagined, is difficult and foreign masters comparable. But with the reform and opening up more and more deeply, this trend is only temporary, later will be like a foreign kind of scene: gray hair of an old man, to a company to solve problems, nothing, empty-handed, sitting in front of the computer, to the lightning-heibuliuqiu of the potential to play the screen (Linux,unix), a few, Problem solving, compensation on w ...

Small series recommended a learning C language/c++ study Skirt "730, 130, 221", whether you are Daniel or small white, is to change careers or want to join the study together to learn about progress together! The skirt has the development tool, many dry goods and the technical information to share!

Life is a few decades, others work is worth your work for a year, he is a fine life ...

So: to live out the quality!

So: Now no matter how old you are, as long as you are not dead, you can have a dream to learn programming.

When you learn to pass, you can explode at any time in the future, for example: because you learn to program, so the future of what language fire, you can immediately turn to the past, always walk in the forefront, and walk is so relaxed and comfortable ...

These are the things that C + + can do

Server Development Engineer, AI, cloud computing engineer, information security (hacker anti-hacker), big data, data platform, embedded engineer, streaming media server, Data control solution, image processing, audio and video development engineer, game server, distributed system, game assistant, etc.

C Language/c++ Programming Learning: Do not work in C + + to learn the reasons for C + +!

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.