title: Saving vector to file in parallel
body: <p>I have a sorted vector of half a milion numbers (in C++). Storing it to a textfile takes about 10 seconds and uses only 50% CPU (1 core). I was thinking of parallelising it, saving 2 separate files (first and second half of vector) and then concatenating these files.</p>
  
  <p>Problem is, I'm not able to find any different way to concatenate other than reading byte-by-byte and joining to the first file... Is there any platform-independent way (Boost or Windows-specific) to join files effectively?</p>