Making a spreadsheet?

I was wondering if there was a way to make a spreadsheet type of thing without having to put a whole *bleep* load of strings, couts, etc... Like just a string of code that makes cells and could display info in those cells.
Bump :(
You could make a function that takes the data you want in the spreadsheet (as vectors, arrays, whatever you like) and have it handle the formatting and display, but otherwise I do not think so.
I'm not sure if this is what you want to hear or not, but if you send comma-delimited "column" strings to a file and use newlines to delimit rows, the resultant format can be loaded by Excel. Just use the .csv extension for the file name.

That way you could dump loads of data in 2 nested for loops or something and open it for viewing in Excel nice and pretty-like.
Topic archived. No new replies allowed.