How to write excel file using c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to write excel file using c++

Hi we can write text file with comma seperated values i.e. CSV from c++ by writing normal fopen. this fails when we have comma as a part of contents... is there a free library or code to be done for writing proper excel sheet? it should allow to directly write me on cell of excel spreadsheet. any thoughts on the same would be of great help.

7th Sep 2019, 6:11 AM
Ketan Lalcheta
Ketan Lalcheta - avatar
2 Answers
+ 1
~ swim ~ libxl is not free..... one need to buy licence key for the same.
9th Sep 2019, 11:35 AM
Ketan Lalcheta
Ketan Lalcheta - avatar
0
~ swim ~ one app is already there which calls some other app for excel... this creates intermediate files one as input to execl app nd other for out from Excel app... to avoid these two files , I would like to perform operations within main app and avoid creating multiple two intermediate files...
9th Sep 2019, 6:45 PM
Ketan Lalcheta
Ketan Lalcheta - avatar