I am trying to copy files from one directory to another. What I don't know how to do is get a file name from a directory using ansi C.

Any help would be appreciated.