并将其刷新到文件( std::ofstream ) 每当 std::stringstream 足够大(以节省一些IO 延迟)。自 std::stringstream 没有 .size() 方法,我使用 seekg 和 tellg :
確定! 回上一頁