资 源 简 介
File_Extractor is a modular archive scanning and extraction library that supports several popular compressed file formats. It gives a common interface to the supported formats, allowing one version of user code. It has a simple C interface, and is written in lightweight C++.
Features
Supports ZIP, GZIP, 7-Zip (7Z), and RAR[1] archive formats.
Non-archive files act like archive of that one file, simplifying code.
Modular design allows removal of support for unneeded archive formats.
Optionally supports wide-character paths on Windows.
Archive file type identification can be customized
[1] RAR support is optional; enabling it changes the library"s license.
Code example
This minimal code example scans "demo.zip" for any .txt files and prints their contents to stdout. If it encounters an error, it prints it to stderr and exits program.
```
void err