Hi all,
I am writing a program, so far I have written the contents of the file (in this case filenames) into an array - now I want to find any duplicate filenames within the array and print them to another file - I am having a hard time getting my head around the logic to do this?
Can anyone help?
I am writing a program, so far I have written the contents of the file (in this case filenames) into an array - now I want to find any duplicate filenames within the array and print them to another file - I am having a hard time getting my head around the logic to do this?
Can anyone help?