figured it out
figured it out
Last edited by crazeinc; 04-28-2005 at 12:28 AM.
unfamiliar with the error......perhaps it's a symlink or something...
about the original problem, i didn't go thru the logic, but it seems that you called mydirlist recursivly with the value ".." which then appended "." to it and tried to read the dir/file named "..."
i seem to have GCC 3.3.4
But how do i start it?
I dont have a menu for it or anything.
Yea, i noticed that, I've updated my code so it won't do that anymore.Originally Posted by misplaced
when the recursion is on it's way back up, it appears that the while((dirt = readdir(dirp)) != NULL) condition is failing even though that isn't the case. The /root/code folder also has a hw2/ folder in it and a text file.
well, i need to see some code
print out the path before the dirt != NULL line see what it says
i seem to have GCC 3.3.4
But how do i start it?
I dont have a menu for it or anything.