i have a problem with exporting data from my program to csv file to be opened by excel spreadsheet as following:i wantto writh a number in a cell then another value in the next cell in the same row
when i write
file<<"student:"<<55;
the cell in the spreadsheet contains both of them as student55
i tried using comma separator but the same problem
it doesn't work either i tried every thing using commas but the same answer
student and the number are in the same cell
is there any possible idea for this problem
Just done an experiment: Having a single line in a plain text file with ".csv" as the type specifier, opening by right click, open with excel 2007 will (as one would expect) use commas as delimeters.
So perhaps there's something missing from your interaction with the file?