Export data to CSV file in C++ using EasyXLS library! Spreadsheets in C++.
https://www.easyxls.com/manual/tutorials/cpp/export-data-to-csv-file.html