How to store integers into an array in C++?
<p>My program will take a line like: 1, 5, 6, 7
Then it will store each integer into an array.</p>

<p>I think, at first input should take as string. But how could I split this by comma &amp; space separator? Then how it will store in array as an integer?</p>
