hello!
i am in a great dilemma.iam a student.ilove writing programs and love experimenting.
i was writing a code in C to enter all directories and their files(in my computer) into a hash table and then to search for the presence of a file.if the file is present,itmust display the pathname.the hash function i have used is sha1.i can reach the directories but am not been able to reach the files.the hash table entry for a file corresponds to its pathname.so as i reach a directory which contains files,it must be entered to the hash table with its pathname as the key.do i need to send my code?
i hope i made myself clear.
plzzzzzzzz help.