Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using c++ : please help This is an individual assignment. STRICTLY NO COPYING from other sources except codes given in this co'rse. If detected all
Using c++ : please help This is an individual assignment. STRICTLY NO COPYING from other sources except codes given in this co'rse. If detected all parties involved will get 0 marks Assignment Write a program which can 1. let the user search for a word from a set of ten text files (named 1.txt to 10.txt), and 2. for each occurrence of the word, display the file name, the line number and the line of text where the occurrence is. The program should run in a loop for the user to eonduct different searches until the user searches until the user decide to quit the program. The search is of the program before the searches begin, generate the indices and store them in memory Select and implement the appropriate data structure(s) to store the indices. You may write your own codes and / or use the STL container(s) to be carried out by using indices to words in the text files. At the beginning When generating indices, filter out all non-alphanumerie characters first and ignore words in Stop Words.txt. Only index words which are formed from 'a-z, 'A-Z' and '0-9 There is also no need for the indices to be case sensitive. Design your own user interface to facilitate the above featuwes Deliverables a) C++ Source code in one file only named using the format This is an individual assignment. STRICTLY NO COPYING from other sources except codes given in this co'rse. If detected all parties involved will get 0 marks Assignment Write a program which can 1. let the user search for a word from a set of ten text files (named 1.txt to 10.txt), and 2. for each occurrence of the word, display the file name, the line number and the line of text where the occurrence is. The program should run in a loop for the user to eonduct different searches until the user searches until the user decide to quit the program. The search is of the program before the searches begin, generate the indices and store them in memory Select and implement the appropriate data structure(s) to store the indices. You may write your own codes and / or use the STL container(s) to be carried out by using indices to words in the text files. At the beginning When generating indices, filter out all non-alphanumerie characters first and ignore words in Stop Words.txt. Only index words which are formed from 'a-z, 'A-Z' and '0-9 There is also no need for the indices to be case sensitive. Design your own user interface to facilitate the above featuwes Deliverables a) C++ Source code in one file only named using the format
Using c++ : please help
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started