Hi,
If I have a char array of some values eg
"80,8080,25,1433" etc
And I want to parse this into an int array so that
myIntArray[0] returns 80
myIntArray[1] returns 8080
etc
and I don't want to use strtok, does anyone have any ideas on a simple solution?
Charlie Benger-Stevenson
Hart Hill IT Ltd
If I have a char array of some values eg
"80,8080,25,1433" etc
And I want to parse this into an int array so that
myIntArray[0] returns 80
myIntArray[1] returns 8080
etc
and I don't want to use strtok, does anyone have any ideas on a simple solution?
Charlie Benger-Stevenson
Hart Hill IT Ltd