My problem seems very simple - I have a string (a word), and I am supposed to copy all characters prior to the first vowel and paste them at the end of the word. For example, if I have the word "programming", I am supposed to make it "ogrammingpr". I tried using erase, append, insert functions, but I can't get any of them working. Any ideas?
You'll probably use the find_first_of function to get the location of the first vowel. Then you can substr the word to get that bit, and put the two sections together.
Because I'm bored, here is an example (not tested):