Microsoft
Software
Hardware
Network
Question : Need C code to read Csv files
I have a CSV files with name CTS_XXXXX_112.monday
file contains values like
1282104000,1282104001,1800
,2,0,0,0,0
,0,0,0,0,0
,0,0,0,0,0
,0,0,0,0,0
,0
1282159800,1282159800,1799
,2,0,0,0,0
,0,0,0,0,0
,0,0,0,0,0
,0,0,0,0,0
,0
..
..
etc
other csv files are named like this
CTS_XYZ_112.monday
CTS_XYZ_112.tuesday
CTS_XYZ_112.wednesday
CTS_XYZ_112.thursday
CTS_XYZ_112.friday
CTS_XYZ_112.saturday
CTS_XYZ_112.sunday
it is always CTS_somename_version.numbe
r.dayofthe
week.
I need a generic C code which can read the name of the csv files.
Answer : Need C code to read Csv files
>> the whole library
It's just one source file. Nothing big. And you can easily just take the source file and use it in your project.
>> I haven't programmed in C in while though
That's probably a good reason to stick with existing code ... It'll save you some time, and you can be reasonably sure that the code is gonna be stable.
Random Solutions
Writing Label on Google Map Pins
JAva Exception
How do I access RDWEB on SBS 2008 Domain?
Dell Precision BIOS
Assign the value to a script global variable from the Server side code
Crystal Reports - Load report failed.
Cisco ASA questions
Password Protect Back End of an Access Database
Can I force reconciliation of old email after blackberry enterprise activation?
Sonicwall TZ 100 configuration