title: getline(cin,input) with multiple lines? (C++)
body: <p>I'm having an issue here that's giving me a hard time. So, I've got to read something in the format [please read the body as well, to understand my issue a little better]: </p>
  
  <pre><code>               TITLE
  
  The text is actually from a file being redirected 
  to input stream via piping in linux bash. I cannot
  use ifstream or anything other than some form of cin,
  of which I believe getline to be the most useful. 
  
  etc.
  </code></pre>
  
  <p>Specifically, what's giving me a hard time is the blank space between TITLE and the body. I can't seem to think of a way to work around that using getline(cin,string). </p>
  
  <p>The best I've come up with:</p>
  
  <pre><code>while(inputString.size() != 0)
      getline(cin,inputString);
      //process string
  </code></pre>
  
  <p>... is thrown out the window with the above-mentioned blank line. </p>
  
  <p>Any ideas, guys?</p>
  
  <p>Thanks! </p>