actually I need to traverse thrugh a directory and find out all the folders and again traverse through those folders and subfolders in that folder to find out all files(executabl e)
I have used the scandir function to traverse through a directory but it does only read the folders in it and I also tried reading those file-folders to get the name of other files usinf fopen but that does not work!
I will be highly obliged, if u could help me out in solving the same
I have used the scandir function to traverse through a directory but it does only read the folders in it and I also tried reading those file-folders to get the name of other files usinf fopen but that does not work!
I will be highly obliged, if u could help me out in solving the same
Comment