string、const char*、 char* 、char[]四者类型经常会需要转化。 ... constc= str.c_str(); //string类型转const char*类型 ... return 0;.
確定! 回上一頁