Page 1 of 1

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
by answerhappygod
Q1 Write A Program That Searches For A Word In A Number Of Files Located In A Specific Directory Note That 8 Marks 1
Q1 Write A Program That Searches For A Word In A Number Of Files Located In A Specific Directory Note That 8 Marks 1 (50.26 KiB) Viewed 16 times
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.