頭文件 string.h cstring string 區別

1. #include <cstring>   //不能夠定義string s;能夠用到strcpy等函數 using   namespace   std; #include <string>   //能夠定義string s;能夠用到strcpy等函數 using   namesapce   std;ios #include <string.h>   //不能夠定義string s;能夠用到st
相關文章
相關標籤/搜索