Comprehensive comparison of CString, String, Char * (3)

zhaozj2021-02-16  45

Connect the above ...

(8) MFC often uses a string structure map (this is not comparative, but in order to facilitate access to it here)

(9) Summary

In summary, I personally think that in the MFC, ATL uses a string to use CString, all of which are Microsoft children, all aspects more advantageous, and higher on non-soft platforms or higher transplantation requirements In the case of recommending String, the Standard Template library provides that powerful generic algorithm, there is no need to go to the wheel.

(10) References

The main reference is MSDN, which is not one.

Finally, it is limited to the level, but the above is not necessarily correct, please ax. thanks for reading.

Joise.li

Joise@126.com

http://joise.126.com

转载请注明原文地址:https://www.9cbs.com/read-27714.html

New Post(0)