1 std::string str; 2 QString qStr = "两袖清风"; 3 str =qStr.toStdString(); 4 //c_str()函数返回一个指向正规C字符串的指针, 内容与本string串 ...
確定! 回上一頁