Extract Whitespace in addition to text from input file, C++?
<p>I have to write a function that will read input from a file. The file is set up: one character, space, word, space, throughout the file, like such:</p>

<p><code>A space 1 space 2 space...</code> etc</p>

<p>I need to extract the whitespace following the one character and NOT the whitespace following the word.</p>

<p>How can I go about doing this? Should I just make it so the function writes the whitespace itself instead of extracting it?</p>

<p>Also, I am importing this info into a 2-d char array. Will I run into problems trying to write integers to a char array?</p>
