in reply to addy book entries..
A database seems like overkill in this case. It's hard to answer your question without seeing some code, but here is basically the way you do it. To edit an entry, your program will have to read in the entire file and store it in memory (probably an array), then search through the array for the correct entry. Once it is found, make the changes. Finally, reopen the file for writing, and dump the newly changed array into the file. This is a very general answer for a general question. Specific questions will yield more specific answers. :)
|
|---|