Hi to all,
I need some help regarding the following:
I have to enter a number of integers separated by commas (for example: 4,25,3,100) and I need to get each number entered and put it in an array. The problem is that this series of numbers and commas is taken as a string. I'm not able to perform the conversion from char to int. How do you suggest I go about it? Is there a ready-made function in C that I can use? Or should I write my own?