I have to write a routine that reads in csv data and appends it in an xml template and saves it. I am not allowed to use C# or C++. It must be in C. I am running it on a Sun machine. Our team has come up with the reader for the nodes of the xml. I've checked several websites looking for example code, but everything is in C# or Java. I realize those are more helpful when working with PHP, etc. Is there somewhere I can find a reader for C?
Re: csv reader
If you know the format of the CSV file the normal way is to just use fscanf() - or better getline() and sscanf().
|All times are GMT -5. The time now is 08:47 PM.|
Powered by vBulletin Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
© 2012 Physics Forums