char buff[100]; snprintf(buff, sizeof(buff), "%s", "Hello"); std::string buffAsStdStr = buff;. 但我不知道你为什么不使用字符串流?我假设你有明确的理由不这么 ...
確定! 回上一頁