We need a few C functions created for us (Using GCC):
1) Small Database System
- We need a few functions that would simulate a small database written. I think a double linked list would be perfect. We need a function to add to the database, remove a record from the database, a function to read from the database and a function to re-sort the database. The Read/Write/Delete functions should all accept the following parameters Filename, KEY, Data. The filename specifies the "file" to work with, the "KEY" would be some sort of Unique key that will be passed in, and the DATA will be the data we want saved. So for instance, if I were to have a cars database, and I wanted to write to the cars database I would do somthing like this... Call the function to write to the database with the filename "Cars.dat", pass in "BMW" as my key and the data "This is a BMW Car record". When I read the file using the read function I would pass in the filename and key of "BMW" and it would return "This is a BMW Car record". The Delete function would be similar to the read function in that it would require the filename and key only, but delete the record instead of return the data. Inserting a record should "insert" the data in the correct link list spot based on the key. If its inserted in the correct spot, there will be no need to resort later... If at anypoint in time a duplciate record comes up it should overwrite the current Key and data.
The functions must be written, tested and compiled with GCC (Cross platform C). We will test the functions using Cygwin GCC and also Linux GCC. These functions must be platform independant.
Code must be commented, and clean.
26 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön
Hello ! I can offer you much better implementation as double linked list. If you will leave me to do it my own way you will get really fast and reliable small database. Thanks. skirn
Hi, We are highly expert in C/C++ programming in GNU/Linux environment. We can provide you a very efficient function in C for this project. Please have a look at PMB for more details. Best Regards ... ccpplinux