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: 5 years 10 months ago
by Natalie Adams

Updated: 5 years 3 months ago
by Natalie Adams


Old Revisions

Page rendered in 0.01545s using 25 queries.