It appears to me that one way of storing data in a B-tree as a file can be done efficiently with C using binary file with a sequence (array) of structs, with each struct represe
You can use Berkley DB as well. It works well with C programs and implements B+ tree.