SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Sponsored Links

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

Thursday, July 15, 1999

This is the README file for the Csv class.

Basically, Csv stabds for "comma-separated values." All this class does, is take a string, like:

"foo",1,1.485,"la lalala","poit"

and allows you to either access the fields in a C-like way:

for(i=0; i < csv.GetNField(); i++)

cout << "field[" << i << "] = '" << csv.GetField(i) << "'\n";

or a C++-like way:

for(Csv::iterator it = csv.begin(); it != csv.end(); ++it)

cout << "field[" << i++ << "] = '" << (*it) << "'\n";

See the csv_test.cxx program for more examples.

---

There are two Makefiles. Makefile.sa is used for when you want to compile this code module as a stand-alone project. Makefile.am is used by automake when this code module is part of a greater application.


Sponsored Links

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.