xlsxWorkBook *wb = xlsx_open_file("my_file.xlsx");
if (wb){
xlsxWorkSheet *ws = xlsx_get_worksheet(wb, 1);
if (ws){
for (int i=0; i < ws->nrows; ++i){
xlsxRow *row = ws->rows[i];
for (int k=0; k < row->ncells; ++k){
xlsxCell *cell = row->cells[k];
printf("%s\t", cell->value?cell->value:"");
}
printf("\n");
}
xlsx_close_worksheet(ws);
}
xlsx_close_workbook(wb);
}
-
Notifications
You must be signed in to change notification settings - Fork 0
C library to parse XLSX file format
License
igkuzm/libxlsx
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
C library to parse XLSX file format
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published