I was bored this weekend and someone posted some code yesterday that intrigued me, so I expanded on the idea.
This class implements a simple flat file database in an OO manor. A lot is left to the user of the class, as far as defining the data layout, to keep the class generic and reusable.
It is basically an exercise in array processing moreso then anything else.
It has the failing of not working with large datafiles since it stores the entire file into an array for then entirety of the instances life.
Anyway, let me know what you think.
There is a complete working example included and you can also see the example here: http://www.suryvial.com/test/text_db/example