title: C++ reading in strings and characters
body: <p>Hi everyone I am working on a project for my CS class and I can't figure out how to read in part of my data file. </p>
  
  <p>63f7hj-9 22spaces L Is this correct</p>
  
  <p>My data file consists of this line of data and I have to figure out how to read in portions of it. I have to read in the 63 and save it as an integer and I do not need the f7hj-9. I also need to read in the 22spaces and save it as a string and the L as a character. </p>
  
  <p>The phrase "Is this correct" needs to go into the console. </p>
  
  <p>So my question is, how do I read in just the 63 and discard the rest of it?
  Save the phrase "22 spaces" as a string. 
  L as a character
  And the phrase "Is this correct" as a string. </p>
  
  <p>I am new to c++ and I have gotten parts of this project to work but I'm stuck on this part. </p>
  
  <p>Thank you for the help. </p>