Created
October 17, 2017 05:16
-
-
Save j2doll/f0cdb6ef52502e8e3711ec5fb1ffaf2c to your computer and use it in GitHub Desktop.
Hello Xlnt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <xlnt/xlnt.hpp> | |
int main() | |
{ | |
xlnt::workbook wb; | |
wb.load("/home/timothymccallum/test.xlsx"); | |
auto ws = wb.active_sheet(); | |
std::clog << "Processing spread sheet" << std::endl; | |
for (auto row : ws.rows(false)) | |
{ | |
for (auto cell : row) | |
{ | |
std::clog << cell.to_string() << std::endl; | |
} | |
} | |
std::clog << "Processing complete" << std::endl; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment