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
cannot receive email
Editable dropdown list in ASP.net 3.5 using C#
Operation Must Use an Updateable Query
Restarting a WPF application to apply updates
SQL Reporting Services - OnPrint event
Intel VT vs. AMD-V for Hyper-V
get latest file in the directory in unix
Exchange 2003 - new Server - still routing through old smtp virtual server
permissions changed after moving folder from one server to another
cisco softphone registration