Comparison of cstring, String, char * (3)

Source: Internet
Author: User

Next article...

(8) structure charts of commonly used strings in MFC (this is not a comparison, but it is included here for convenience)


(9) Summary

To sum up, I personally think that cstring is used as much as possible in MFC and ATL. After all, it is a child of Microsoft, and each aspect is more advantageous than others, string is recommended for non-Microsoft platforms or scenarios with high portability requirements. The standard template library provides so powerful generic algorithms that you do not need to build your own wheels.

(10) References

The main reference is msdn, which will not be listed one by one.

 

 

Finally, the above description may not be correct due to my own level. Thank you for reading.

 

Joise. Li

Joise@126.com

Http://joise.126.com

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.