subject

I am in a C programming class and I am having trouble with my code for one of the questions as I am unsure on how to write it. The question is: Write a subroutine that takes four strings pointers as parameters: pstrDestination, pstrSource, pstrToFind, pstrReplaceWith. The subroutine should copy the source string into the destination string (and terminate) but it should replace all instances of pstrToFind with pstrReplaceWith. Assume the destination string is large enough to hold the source. For example source="I love Star Trek and I love Star Wars", find=”love”, replace “really love”, would be copied as “I really love Star Trek and I really love Star Wars”.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:00
Jackson is teaching the decimal number system. he wants his students to know how to expand numbers by powers of 10. which is the correct order in which digits are assigned values in the decimal number system?
Answers: 1
question
Computers and Technology, 22.06.2019 21:30
Elements such as fonts colors visual structure graphics and the interface of a web page should complement each other to ensure blank
Answers: 3
question
Computers and Technology, 24.06.2019 01:00
Mastercard managers are motivated to increase (1) the number of individuals who have and use a mastercard credit card, (2) the number of banks and other clents who issue mastercards to customers and/or employees, and (3) the number of locations that accept mastercard payments. discuss how mastercard could use its data warehouse to it expand each of these customer bases.
Answers: 3
question
Computers and Technology, 24.06.2019 10:00
1. which of these is not true about torsion bars? a. they can be used to adjust ride height b. they can be adjusted anytime since they don't affect alignment angles c. they attach between the frame and the lower control arm d. they twist to produce a spring effect
Answers: 1
You know the right answer?
I am in a C programming class and I am having trouble with my code for one of the questions as I am...
Questions
question
Mathematics, 16.04.2021 16:20
question
Mathematics, 16.04.2021 16:20
Questions on the website: 13722360