How to better learn the C ++ Language

Source: Internet
Author: User

Learning C ++ is the soil of these "Innovations". Yes, I am talking about endless workarounds and idioms. But the problem is that these "innovations" are not actually innovations at all. After reading this article, you will certainly have a lot of GAINS. I hope this article will teach you more things.

The power of Murphy's Law cannot be ignored-if there is a possible trap, it will always happen. Similarly, the tricks and tricks of C ++ are not just a plug-in and sometimes need to be used. However, you do not need to put all the details and skills of C ++ in your mind before programming, that is:

Suggestion 1: Read C ++ books that are widely referred to as "classic.

If you think that a piece of content introduced in the book is basically not used in daily programming, it may be the best practice to make a very rough look and leave an impression, instead of going down this line. Which books should be read when you are a beginner will be mentioned later.

In fact, in addition to language-independent programming, you need to read what books will be mentioned later.) To learn the C ++ language, you need to start programming with it, you only need to know some basic but important language knowledge which books will be mentioned later) and the fact that "C ++ has many defects and traps", and --

Recommendation 2: develop the habit of reading documents at any time.

"Document query" can be said to be the most important capability of a programmer. It is so important that there is a special abbreviation in English-RTFM. The reason why this capability is so important is simple: too much knowledge in the programming field.

Not only is there a huge amount of knowledge, but the depth of knowledge is almost unparalleled in any discipline. You can look for a framework class library to see its API documentation ). Therefore, putting such a huge amount of information in advance is not only impractical, but it is simply a self-defeating task. What you need is "meta-ability", that is, the ability to query documents-starting from the problems you encounter, perform correct and reasonable analysis, and predict where the problem solution may be located, find information about the latter, read, understand, and use it.

  • Objective and principles of designing C ++ Language
  • In-depth analysis of C ++ Programming
  • Explanation of C ++ syntax structure
  • Describes how to get started with Visual C ++
  • Describes how to learn the C ++ Language

Similarly, this is true in C ++. If you start with C ++, even if you are asked about the details of a language during the interview, you can also say with confidence that you do not know the details, but when you encounter problems in the actual encoding, you will find appropriate references and quickly solve the problem, is the ultimate goal ).

Of course, the bigger possibility is that you have already been familiar with the most common 80% traps and skills in normal coding, because you are using practical guidance for learning, so the traps and skills you need to learn are almost certainly common scenarios, it is N times more efficient to catch a C ++ "classic" than to study it in detail, because without practical experience, you may think that each technique and trap have the same probability of attack.

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.