Q1) Write a program that searches for a word in a number of files located in a specific directory. Note that: (8 Marks)

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
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)

Post 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 14 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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply