I'm trying to write a program in C++ that separates a string into its separate elements if it contains multiple elements separated by spaces.
For instance, the string "john hubert williams doe" would be stored as a vector containing the values {"john", "hubert", "williams", "doe"} at indexes...