voidwriteToCSV(conststd::vector
rapidcsv::Documentdoc;
std::vector<std::string>headers={
"A","B","C"
};
doc.InsertRow(0,headers);
doc.Save(filename);
}
-----------------------------------------------------
网友回复:
引用:ClearkSky发表于2024-10-617:37
写csv为什么还要用库直接手动输出不就行了吗