Re: How to best parse a CSV data file and do a lookup in C?

From: Johnny Google (john_pataki_at_yahoo.com)
Date: 11/19/04


Date: 18 Nov 2004 20:23:24 -0800

The main point here is I need help with either an already created
library which handles data files like this - or some C equivalent to

@data = split /,/, $line;

Since I think I know how to read the contents, and loop through the
array in C - and do the strcmp to test if it matches - I just don't
know how to simply put break the line into an array by telling it what
the delimiter is (as in the above split example).

Thanks,

John



Relevant Pages

  • RE: need some advice please - array? or?
    ... "Tom" wrote: ... > I have many data files containing data from our old system. ... Faced with up to say, 30 books or so per cycle, and 5 ... And if an array *is* the way to go, ...
    (microsoft.public.access.modulesdaovba)
  • Re: c programmer in need of perl advise
    ... 2916 East Upper Hayden Lake Road ... >> have a bunch of data files that i need to read in and do some ... >> i need to save the data in an array for post processing, ...
    (comp.lang.perl.misc)
  • move transaction logs for master/model/tempdb
    ... I am configuring a new database server that has a RAID 1 array for the ... transaction logs and a RAID 10 array for the data files. ... How can I move these transaction logs now that they are installed? ...
    (microsoft.public.sqlserver.setup)
  • Failed HD - How to rebuild RAID 1 array Adaptec 1420SA?
    ... We recently installed a server with an Adaptec 1420SA RAID card running SBS ... and the other pair is for data files. ... array, or to rebuild the array - there's a function for that, but it doesn't ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: Can a multi-dimensional array be the control source for a combo box?
    ... Your callback function showed me the way. ... the path to my data files and a few other changes I think will be more ... and loop through the array building up a string to ... This is not really for the clueless, but there's an example in this ...
    (comp.databases.ms-access)