Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
csv2/csv2.hpp
✓ #include <csv2/csv2.hpp>
Read and print all rows from a CSV file
#include <csv2/csv2.hpp>
#include <iostream>
int main() {
csv2::Reader<csv2::delimiter<','>> reader;
if (reader.mmap("data.csv")) {
for (const auto& row : reader) {
for (const auto& cell : row) {
std::cout << cell.raw() << " ";
}
std::cout << "\n";
}
}
return 0;
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
2020-12-14latest on vcpkg
Audit
Dependencies
No dependency data recorded yet.
Resources
No resource links recorded.