[ol] void writeToCSV(const std::vector& sss, const std::string& filename) { rapidcsv::Document doc; std::vector headers = { "A", "B", "C" }; doc.InsertRow(0, headers); doc.Save(filename); }[/ol]复制代码 GPT 死活都只给我这个解答,可是首行总为空 给我, 写到, 死活