title: C++ console reading uncertain number of inputs and put them in an Array?
body: <ol>
  <li><p>Assume the following numbers are inputed in VC++ Console(separate with a <strong>space</strong>). N maybe 10, 20 or 100, it is uncertain.</p>
  <p><code>1 2 3 4 ... N [Enter]</code></p>
  </li>
  <li><p>The number of inputs is uncertain, maybe 10, or 20. After I press the <strong>Enter</strong> key, how put these numbers into an Array?</p>
  <p><code>array[0]=1; array[1]=2; ...</code></p>
  </li>
  </ol>
  <p>How to implement that with C++ code?</p>
  <p><strong>(The number of inputs is uncertain!)</strong></p>