i have made a linked list of the following type which contains directories and files info:
my question is how to save files and directories such that a complete tree is saved?Code:
filename // file or directory name
fileID // file or dir ID
ParentID// parent dir's ID
// other info crucial to saving
Please give me some guidelines. I'll be thankfull.