title: reading chars from input including spaces using get()
body: <p>Here is my problem. </p>
  
  <p>I have specified size 2 dim array.Each row includes spaces and "!". Let me show it.</p>
  
  <pre><code>row size:3 column size:8 
  
  ! !!!! !
  !!!!!!!!
  !!  !! !
  </code></pre>
  
  <p>I've tried to read it and stored into vector &lt; vector &lt; char > >. To do that, I've written the following code.</p>
  
  <pre><code>vector&lt;vector&lt;char&gt; &gt; rows;
  for(int i=0;i&lt;3;i++){
      vector&lt;char&gt; row;
      for(int j=0;j&lt;8;j++){
          tempChar=myfile.get();
          temp.push_back(tempChar);
      }
      rows.push_back(row);
  } 
  </code></pre>
  
  <p>However,I got something wrong I dont know why. Is there anyone to help me ? Thanks in advance.</p>