string line; char* str;//char指针 str = strdup (line.c_str());//string转换char* 相关文章: 2022-12-23 2022-01-17 2021-12-24 2022-12-23