Skip to content

A CSV Parser in C++ without any bells and whistles

License

Unknown, GPL-3.0 licenses found

Licenses found

Unknown
LICENSE
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

psibi/csv-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSV-Parser in C++

A CSV Parser in C++ without any bells and whistles.

Usage:

//Create object of csv_parser and pass the filename as the argument.
csv_parser csv("demo.txt");

//For getting values according to row number and column number. Remember it starts from (1,1) and not (0,0)
string value = csv.get_value(3,4);

//For getting a particular row in the CSV file
string line = csv.get_line(3);

//For getting number of fields in a particular row.
int total_fields = csv.fields(csv.get_line(3));

For demo, see the code demo.cpp under examples folder.

License:

GNU General Public License v3 (GPLv3)

Bug Report:

Issue it here: https://github.com/psibi/csv-parser/issues

About

A CSV Parser in C++ without any bells and whistles

Resources

License

Unknown, GPL-3.0 licenses found

Licenses found

Unknown
LICENSE
GPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages