title: reading buffered text data to string
body: <p>Hi I want read from a hung text file data directly to a string 
  I know that i can use the following:</p>
  
  <pre><code>ifstream infile("myfile");
  string str(istreambuf_iterator&lt;char&gt;(infile), istreambuf_iterator&lt;char&gt;());
  </code></pre>
  
  <p>but this way read whole file in one step.
  I want read it in several step beacuse this is very larg file about 50GB.
  How I can do it?
  thanks for your advice Herzl.</p>