https://github.com/fschutt/dbflib
DBF library for reading and writing dBase III to dBase VII files. Only .dbf file support.
https://github.com/fschutt/dbflib
Last synced: about 1 year ago
JSON representation
DBF library for reading and writing dBase III to dBase VII files. Only .dbf file support.
- Host: GitHub
- URL: https://github.com/fschutt/dbflib
- Owner: fschutt
- License: mit
- Created: 2016-10-22T20:02:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-09-26T17:27:15.000Z (over 7 years ago)
- Last Synced: 2025-04-10T23:07:08.317Z (about 1 year ago)
- Language: C++
- Homepage:
- Size: 1.17 MB
- Stars: 9
- Watchers: 2
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dbflib
Library for reading .dbf files
## Usage
```cpp
#include "DBaseFile.h"
#include
int main() {
DBaseFile dbf = DBaseFile();
try {
dbf->openFile("./test/ANSPRECH.DBF");
} catch(std::runtime_error& e) {
std::cout << e.what() << std::endl;
}
dbf->stat();
return 0;
}
```
## Installation
```
git clone https://github.com/fschutt/dbflib
cd dbflib
make && make install
```
This will generate a `libdbf.so` file in the root folder, then install it on the system.
On Windows, you have to copy the file manually and put the headers where your system can find them.
## Documentation
This repository uses doxygen syntax for documentation.
Please refer to http://www.doxygen.org/ for usage instructions.