is there a way to write to csv file when there is more than 1 table

Hi all,
I have a question regarding writing to csv file.

In my program there are more than 1 table.Is there any way to write all the table data into one csv file.

There is not even a standard to write a single table into a CSV file. I would recommend to use a CSV file for each table for compatibility with other software, maybe zipped into one file.

If you don’t need other software to load your tables directly but you still want it to be human-readable then you can write your data into a custom json file (parsing is amazingly fast if you use RapidJSON).

If you don’t need the file to be human-readable then you could save multiple tables in an sqlite database file.

ok thank you and got it.