how to the string to extract digits and save to integer array in C.
It looks as shown below:
int digits[100]; // Assuming allows 100 sets of figures
input:a54df12jlk264jo5erqa504df45
digits[0]=54;
digits[1]=12;
digits[2]=264;
digits[3]=5;
digits[4]=504;
digits[5]=45;
Regards,
Ken


VulpesRank #55 · 29.2K reputationPosted Jul 13, 2013, 3:55 AM EDT
Ken HRank #2,315 · 610 reputationPosted Jul 13, 2013, 9:54 PM EDT
thank for you :)
Regards,
Ken