Char array to be broken into 3 integer variables
<p>Char arrays:</p>

<pre><code>char inData[] = "1,13,1" 
</code></pre>

<p>or</p>

<pre><code>char inData[] = "1,9,127"
</code></pre>

<p>How could I extract data from them into 3 integer variables. Delimiter is ",". Language C++.</p>
