diff -r 561bd21909945b50f673c46a236c1cd3ba261cf9 -r 3eeaa517e066f7c0a0ba0c5018db07282d909948 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Sun Mar 02 10:55:15 2014 -0600 @@ -0,0 +1,23 @@ +#include +#include +#include "csvpp.h" + +using namespace std; +using namespace csvpp; + +int main() +{ + RowReader tmp; + stringstream ss; + ss << "field1,field2,field3\r\n123,234,345\r\n999,000,111\r\n"; + ss >> tmp; + rowiterator it; + while(ss >> tmp) + { + for(it = tmp.begin(); it != tmp.end(); it++) + cout << it->first << " => " << it->second << endl; + cout << endl; + } + return 0; + +} \ No newline at end of file