title: I need help interpreting char arrays in C
body: <p>If I were given a character array with a maximum length of say 1000 that will always follow the guidelines <code>int,int,char,int</code> for example <code>"12,6,@,3"</code> What is the easiest way to separate them and store them to their respective variable type. I know their is such things as <code>isdigit</code> and such but its really daunting to think of how many nested <code>if</code>'s I would need to interpret these <code>char</code>s not knowing how many characters each <code>int</code> could be. I'm very new to programming so please don't be rude I'm just looking for help.</p>