All Questions
1 question
0
votes
2
answers
8k
views
Split a sentence ito an array of words without using strtok
I need to split a sentence contained in a char pointer into an array of words. I've tried several methods (as I cannot use strtok. The following method I used extracts the different words, but it ...