im trying to get a user input: "aa bb cc dd ee" etc. which is stored in a single string and put it in multiple strings string_1 "aa", string_2 "bb", string_3 "cc", string_4 "dd", string_5 "ee" etc.
string str;
cin >> str; //user input
//code to split the string
string str_1, str_2, str_3, str_4, str_5;