C++ library to load Excel (.xls) files [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question 开发者_JS百科I'm looking for a free C++ library that can load .xls files in both Windows and Linux. If I had to make a choice, Linux would be the bare minimum.
I've tried LibXL, but got this amazing error:
"can't read more cells in trial version"
So now I'm on the hunt for a free version :), unfortunately xlsLib doesn't provide the ability to load existing .xls files.
Thanks
We have had success with: ExcelFormat
This looks promising for .xslx files: https://github.com/tfussell/xlnt
Please take a look at XLSX I/O, which is a C library released under MIT license for both reading and writing .xlsx files from C/C++.
It's cross platform and specifically designed to allow streaming a lot of data to and from .xslx files with low memory footprint.
Only depends on expat and libzip. Tested on Windows (MinGW), Linux and OS X.
精彩评论