Q1) Write a program that searches for a word in a number of files located in a specific directory. Note that: (8 Marks)
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Q1) Write a program that searches for a word in a number of files located in a specific directory. Note that: (8 Marks)
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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!