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
Is there a DSMOD query to change the domain part (only) of an email address in AD?
how can I enter a genuine product key in Windows 7
Folders from Windows Updates are created in USB Discs
Mysql Query to select from two tables
iSCSI Performance Tuning
Restoring Windows Server 2008 System state backup on different machine
Change the login name of a user in a SQL Server 2005 database
Save Icon is is disabled in my PDF Adobe Reader 9.0
Exchange 2010 CAS and certificates
Access is denied, unable to remove device when trying to delete a printer.