For example, any character different than a b c..x y z or A B C..X Y Z or - needs to be seperated and put in a vector.
How can I achieve this ?
std::string inputLine;
vector<string> inputs;
getline(std::cin, inputLine);
at this point I got the string from the user input, how can I split it ?
For example: hello,sir my nameéis ada-m should be put in a vector as follows
inputs.at(0): hello
inputs.at(1): sir
inputs.at(2): my
inputs.at(3): name
inputs.at(4): is
inputs.at(5): ada-m