"Effective C + +" key Summary (ix)

Source: Internet
Author: User
"Effective C + +" Chapter Nineth: Miscellaneous Discussion
  1. Do not neglect the compiler's warnings. Take a warning message from the compiler seriously. Strive for no warning at the highest warning level. Also do not rely too much on the compiler to give the warning message, different compiler gives the warning message is not the same, even give the warning point is not the same.
  2. Familiarize yourself with the standard library of libraries, including TR1.
  3. Make yourself familiar with boost.

C + + does not want Java and C #, the language itself has a very powerful library, so the external library is important for writing C + + programs. As the saying goes, do not reinvent the wheel, so you can use others to use it. Of course, this is in the actual project, the learning stage, I am still more advocating their own hands to achieve, only their own hands, those things can become their own, but only to achieve a certain accumulation, it is possible to invent their own things. Standard library and boost are some of the experts of the big, learn to copy them will let us benefit. I have been caught in a misunderstanding, and the non-existent people than clever, many things want to think of themselves, the result is often not to think out, and then did not do, in fact, it is the process of thinking can let oneself better understand other people's things, and the goal is to learn things, if you really want to different, see how others do, Just figure it out.

"Effective C + +" key Summary (ix)

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.