C++ String manipulation isn't making sense to me...
- by Andrew Bolster
I am trying some of the Stanford SEE courses online to learn some new languages; this particular assignment has to do with removing substrings from strings.
What I've got so far is below, but if text = "hello hello" and remove ="el", it gets stuck in a loop, but if i change text to text = "hello hllo", it works, making me think I'm doing…