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
comment SP
DSUM with multiple rows and multiple columns
Windows Server 2008 NLB Issue
How do I check if a window is already open or give it focus using Flex/Flash
VB.Net exe, icon and shortcut
indexed table in snmp trap
Coldfusion -splittext
SQLservr.exe*32 process using large amount of ram and disk activity
Reset HMC on P5 520
PayPal with CreditCard