title: How to use istringstream with more than one delimiter
body: <p>Hi I'd like to ask how to parse multiple floats, separated by "/" and spaces, from a string.</p>
  
  <p>The text format from the file is "f 1/1/1 2/2/2 3/3/3 4/4/4"
  I need to parse every integer from this line of text into several int variables, which are then used to construct a "face" object(see below).</p>
  
  <pre><code>int a(0),b(0),c(0),d(0),e(0);
  int t[4]={0,0,0,0};
  //parsing code goes here
  faces.push_back(new face(b,a,c,d,e,t[0],t[1],t[2],t[3],currentMaterial));
  </code></pre>
  
  <p>I could do it with sscanf(), but I've been warn away from that by my uni lecturer, so I am looking for an alternative.  I am also not allowed other 3rd party libraries, including boost.</p>
  
  <p>Regular expressions and parsing with stringstream() have been mentioned, but I don't really know much about either, and would appreciate some advice.</p>