Table of Contents

How to use csvpp

How to use CSVPP

Inside of csvpp.h there are 3 different objects: * RowReader * RowWriter * rowiterator Each of these objects are located in the namespace csvpp.

Note - if you want to use fields you should have one stream statement before looping through the data For example:

fileistream >> tmp; //this populates the fields
fileistream >> tmp;

Otherwise you will end up trying to access an empty row.

Example 1, using a string:

Example 2, using a file:

Created: 6 years 9 months ago
by Natalie Adams

Updated: 6 years 2 months ago
by Natalie Adams


Old Revisions

Page rendered in 0.02888s using 25 queries.