C和C++里string头文件的区别 C: #include <string.h> 提供字符串操作函数 C++: #include <string> 提供一个字符串类,string 长风破浪会有时,直挂云帆济沧海! 可通过下方链接找到博主 https://www.cnblogs.com/judes/p/10875138.html