Q1) Write a program that searches for a word in a number of files located in a specific directory. Note that: (8 Marks)
Posted: Mon Jun 06, 2022 6:33 pm
Q1) Write a program that searches for a word in a number of files located in a specific directory. Note that: (8 Marks) The word and the directory name should be entered by the user. • Your program should check for the number of files in the specified directory and then create a thread for each file to search for the word in that file. • You do not have to search in subdirectories, therefore, just skip any subdirectory.