当前位置:网站首页>string. How to choose h and string and CString

string. How to choose h and string and CString

2022-07-06 16:45:00 HBUcs2020

<string.h> It's old C The header file , The corresponding is based on char* String handling functions for ;

    <string> It's packaged std Of C++ The header file , Corresponding to the new string class ;

    <cstring> Yes corresponds to the old C Of the header file std edition .

原网站

版权声明
本文为[HBUcs2020]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202131314583365.html