fstream fs;
fs.open("../bin/11.csv", std::ios::app);
char buf[128];
for (int i = 0; i < SPECTRUM_GROUP; i++)
{
fs << i + 380 <<","<< i+ 5 << std::endl;
}
fs.close();
其他功能看
https://www.cnblogs.com/depend-wind/articles/12405099.html
fstream fs;
fs.open("../bin/11.csv", std::ios::app);
char buf[128];
for (int i = 0; i < SPECTRUM_GROUP; i++)
{
fs << i + 380 <<","<< i+ 5 << std::endl;
}
fs.close();
其他功能看
https://www.cnblogs.com/depend-wind/articles/12405099.html