title: Big Number,input char[]
body: <p>I have problem with the following code:</p>
  
  <pre><code>#include&lt;iostream&gt;
  
  using namespace std;
  
  int main()
  {
      char a[200];
      int i;
      for (i = 0; cin.get() != '\n'; i++) {
          cin &gt;&gt; a[i];
      }
      cout &lt;&lt; i;
  
      system("pause");
      return 0;
  }
  </code></pre>
  
  <p>I don't know why when i input without space 10 char for example. i si equal to 10/2=5 ?</p>