Answered step by step
Verified Expert Solution
Question
1 Approved Answer
remove word from array if have the same---C++ example i have string* word //array of word int size// total size mystring remove( string removeword ,
remove word from array if have the same---C++
example i have
string* word //array of word
int size// total size
mystring remove( string removeword , int totalword) {
//totalword is how many words in that file
//code here
}
main ()
int totalword;
cin>>totalword // file read to totalword
----feel free to do your own example.----
P/S in the removeword have 2 case
case 1 is do it without sort the file.
case 2 is do it already sort the file.
PLEASE USE THE FOR LOOP TO DO IT.
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