Use fopen() to open up the database. Before you read and write, you need to find out the way that Oracle files are packed and do all of the i/o in that format. The protocol is probably on Google, and if not, you can open the file itself in a text editor and see if you can figure it out yourself.