I've created a function that will delete recursively a directory tree; well that is what it is suppose to do. I am able to delete all the files within the directoy tree but I cannot delete the directories.
Here is the part of the code that is not working:
/* First I store the address\name of the current directory*/
/* Then I set that directory as the current directory to search recursively*/
/* Recursive function that deletes the files and directories under the current directory*/
/* After it returns I go back to the previous directory */
/* Then I attempt to delete the directory */