#if 0 TMP=$(mktemp -d) c++ -std=c++11 -I src -o ${TMP}/a.out ${0} && ${TMP}/a.out ${@:1} ; RV=${?} rm -rf ${TMP} exit ${RV} #endif #include #include #include "rapidcsv.h" int main() { rapidcsv::Document doc("examples/nohdr.csv", rapidcsv::LabelParams(-1, -1)); std::vector close = doc.GetColumn(5); std::cout << "Read " << close.size() << " values." << std::endl; long long volume = doc.GetCell(4, 2); std::cout << "Volume " << volume << " on 2017-02-22." << std::endl; }