Question: ile .cpp 5 Given string and mm-empty word string, set result to version of the originel string bhere all chars hove been replaced by pluses
ile .cpp 5 Given string and mm-empty word string, set result to version of the originel string bhere all chars hove been replaced by pluses -, except for appearances of the sond string shich are preserved unchanged You may use at(), size() and substr(). You may not use any other functions. " Some exaples: for input of "12xy34" x>+ for input of "1xy34 1 "1++- for input of "12xy34sxyabcxyyy" string replacePlus(const string& str, const strings word) string result- YOUR CODE GOES ONLY BELON THIS LINE 1YOUR CODE GOES ONLY ABOVE THIS LINE return result
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
