Question: Here's LabTest: #include #include / / You need to create LabProj 3 . h and write the prototypes of the two functions in it #include
Here's LabTest: #include
#include
You need to create LabProjh and write the prototypes of the two functions in
it
#include "LabProjh
using namespace std;
functions to test your program, DO NOT modify
void testFindconst char targetStr, const char subStr
int res myFindtargetStr subStr;
if res
cout "String subStr does not appear in string
targetStr endl;
else
cout "String subStr found in string
targetStr at res "locations" endl;
functions to test your program, DO NOT modify
void testImproveFormatchar targetStr
cout "The string before improving the format: targetStr endl;
improveFormattargetStr;
cout "The string after format improvement: targetStr endl;
cout endl;
int main
testFindabbbfd "abc";
testFindBeginingin;
testFindMyComputer "put";
testFindDownloado;
testFindfriendship "ind";
char str "Ode to Joy";
testImproveFormatstr;
char str "Welcome to my class!";
testImproveFormatstr;
char str "Remove the redundant blank spaces in this
string.";
testImproveFormatstr;
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
