我有以下代码,可以将.csv文件保存在桌面上。我想要更改代码,这样用户就可以选择保存它的位置并命名它。
std::ofstream outfile;
outfile.open("Real-Time.csv", std::ios_base::app);
outfile<<TotalTime<<", "<<os.str().c_str()<<", "<<os1.str().c_str()<<endl;https://stackoverflow.com/questions/51976891
复制相似问题