title: ifstream tellg() not returning the correct position
body: <h3>read.cpp</h3>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;fstream&gt;
  
  using namespace std;
  
  int main(void)
  {
      int id;
      char name[50];
      ifstream myfile("savingaccount.txt");  //open the file
      myfile &gt;&gt; id;
      cout &lt;&lt; myfile.tellg(); //return 16? but not 7 or 8
      cout &lt;&lt; id ;
  
      return 0;
  }
  </code></pre>
  
  <h3>savingaccount.txt</h3>
  
  <pre>
  1800567
  Ho Rui Jang
  21
  Female
  Malaysian
  012-4998192
  20 , Lorong 13 , Taman Patani Janam
  Melaka
  Sungai Dulong
  </pre>
  
  <h3>The Problem</h3>
  
  <p>I expect the <code>tellg()</code> to either return <code>7</code> or <code>8</code> since the first line <code>1800567</code> which is 7 digits so the stream pointer should be placed after this number and before the string <code>"Ho Rui Jang"</code>, but <code>tellg()</code> returns <code>16</code>. Why is it so?</p>