Anyway, on to your question of splitting strings.
You will be glad to know that there is a function that returns a portion of a string: http://www.cplusplus.com/reference/string/string/substr/
If you use a loop to change indices, you can easily have several parts of a string stored to a vector.
Here is an example where I split a word into individual strings that contain only one letter each.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include <iostream>
#include <string>
#include <vector>
int main() {
std::vector<std::string> letters;
std::string word = "Spectacular";
for(size_t i = 0; i < word.size(); ++i) {
letters.push_back(word.substr(i,1));
std::cout << letters[i] << std::endl;
}
return 0;
}