The C + + programming Language Learning Note the 6th Chapter expressions and statements

Source: Internet
Author: User

1, about the strcpy function.

The book says that C-style strings are used sparingly, and that functions such as strcpy should be used sparingly. This function is mainly to talk about the main points mentioned above through the tenth question in this chapter. Consolidate the knowledge of the previous chapters. Wrote a paragraph, originally felt oneself write well, the result and the net of a pen feeling still is poor many, also learned a lot, the following posted website for everybody to see. http://blog.csdn.net/cazicaquw/article/details/7044602.

It's very detailed, and many of the details are useful to us beginners. But I feel that he writes too tedious, in fact, from the pointer to bool implicit conversion is relatively safe, there is absolutely no need to write more. There are also many different versions of the strcpy function on the Internet, feeling that efficiency and security can not be combined, or to see the specific implementation of the situation to write this function.

The C + + programming Language Learning Note the 6th Chapter expressions and statements

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.