Library for storing and analyzing data
So, I have this program that collects a bunch of interesting data. I want to have a library that I can use to sort this data in columns and rows (or similar), save it to a file, and then use another program (like OpenOffice Spreadsheet or MATLAB, since I own it, or perhaps some other table / database that I don't know) to parse and plot the data, but I want. I prefer this library to be open source, but this is not a requirement.
source to share
Okay, so my mistake, you wanted a writer. Writing CSVs is easy and obviously reading them in Matlab is easy too.
http://www.mathworks.com.au/help/techdoc/ref/csvread.html
CSV has a simple structure. For each line, you split a new line. and each column is comma separated.
0.10.15.12
4.7.0.3
So, all you really need to do is grab your data, split it line by line, and then write a line with each column separated by a comma.
If you want some sample code, I can edit it again, but it shouldn't be too hard.
source to share