title: Insert Carriage Return in unformatted text file
body: <p><strong>C++ problem.</strong> I have a text file with no <em>"carriage return"</em> or <em>"new line"</em>.</p>
  
  <p>All the words are concatenate in a whole single block.</p>
  
  <p>I want to divide the file in lines by substituting every substring <em>"ABC"</em> with the <em>"carriage return"</em> or <em>"new line"</em> character.</p>
  
  <p>P.S: I can't scan the file line by line because the file is actually a single line, bigger than the max value allowed for a single string <em>(string::max_size)</em>. </p>