I am having trouble with understanding how to loopthrough an array and change a string value and add another string value to it. The maximum amount of strings is 4 and if you enter more than 4 strings it should give error message.
Thank you for your help!
I am only about half way through the book at school and vectors are not covered for about another 200 pages. It would seem that is they wanted to use that they would have put it before now in the book?
But, thank you for the help.
Which book are you using? I don't see the reason why string and vectors are that far apart. Both are contiguous data structure so they are pretty much closely related to each other. Either way, it's what the author prefer I guess.
Going back to your problem. Can you provide any code or algorithm outlining the code? I am assuming a lot of situations with what you said on the very first post so I can not specify a specific solution.