   Splitting a character sequence of numbers into a vector
  Hi all,what would be a simple method of splitting a character array containing for example: "75 100 10" into a vector struct of 3 float values, i basically just need to split the string at each whitespace character.thank you in advance   
  I don't know what a "vector struct of 3 float values" is, but this code should help:#include <iostream>#include <sstream>int main() {  std::istringstream iss("75 100 10");  float a,b,c;    iss >> a >> b >> c;    std::cout << '(' << a << ',' << b << ',' << c << ")\n";}