title: limit on string size in c++?
body: <p>I have like a million records each of about 30 characters coming in over a socket. Can I read all of it into a single string? Is there a limit on the string size I can allocate?</p>
  
  <p>If so, is there someway I can send data over the socket records by record and receive it record by record. I dont know the size of each record until runtime.</p>