linked lists and RAM
Posted on 2003-10-28
I'm dealing with folder management. I should have clients which will have folders in tree structure which will in turn have list of records. Now, i should have 2 fields of the records in the RAM as interlinked pointers and do all my operations on them and this will correspondingly change the data in the secondary memory which it is pointing to. Once I power off my system, I will lose my pointers. But if i lose my pointers, that means I have lost my sorted list of reference also, as data in secondary memory won't be sorted and it is only the pointers which will undergo every operation. What should I do to get back my list of pointers with the latest modified status with the above mentioned requirements?