Question: 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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
