Skip to content

m202/bdbtest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

bdbtest - Berkeley DB example
Colin King <[email protected]>

This application demonstrates the C++ API of Berkeley DB (bdb).
It has been tested on Ubuntu with the following packages:
libdb5.1++-dev
libreadline-dev

$ make
g++ -lreadline -ldb_cxx bdb_test.cc -o bdb_test
$ ./bdb_test 
DB file name: test.db
Command (g=get, p=put, q=quit): p
Enter key: 123
Enter value: Hello BDB!
Command (g=get, p=put, q=quit): g
Enter key: 123
Data = Hello BDB!
Command (g=get, p=put, q=quit): q

About

Berkeley DB example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages