Hey, I'm new to C++ programming and trying to create a program that stores 3 string inputs (s1,s2,s3), entered in keyboard. I made an excel csv file. The input data then outputs to the csv file, which works ok. But every time i run the program, it overwrites the previously entered data. Can anyone suggest a simple database those collects and saves the input data every time. Thanks
MyExcelFile.open("Numbers.csv", ios::out | ios::ate | ios::app) ;
opens MyExcelFile for output, seeks to the end of the file on open and all output is appended to the file.
You aren't outputting any commas, which seems a little unusual for a csv file.