Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   what is the concept of global recycle bin? (http://www.go4expert.com/forums/concept-global-recycle-bin-t23374/)

shradha 21Sep2010 12:27

what is the concept of global recycle bin?
 
how can one devolop global recycle bin code in c?how it works?

xpi0t0s 2Oct2010 13:41

Re: what is the concept of global recycle bin?
 
A recycle bin for what exactly? Used memory? Or like the recycle bin in Windows?

If the latter, it requires that the OS delete file function is modified so that instead of permanently deleting a file, it instead moves the file to the recycle bin instead of deleting it. The function would also need to record the original location and filename so that the file can be recovered. Also if the recycle bin has a maximum size, as in Windows, it needs to keep track of when files were moved into the recycle bin so that it can permanently delete old stuff to make room for new. A new function to permanently delete a file would then need to be created.


All times are GMT +5.5. The time now is 14:34.