1
C - C++ / Re: I need to take string from cin, split by comma into char array
« on: October 05, 2015, 07:40:40 PM »
Go through each character in the string. Replace commas with 0 and store the index in an array. create the array to store the chars. set a pointer to the beginning of the string and store in the array. add the index stored in an array to pointer then store pointer into the array... and so on