Here is an example: boy girl good word aa why stuff
I would like to basically split this string into words and store them in an array. Here is the array am talking about:
1 2 3 4 5
Array= calloc(15, sizeof(char*));
//now allocate memory for each individual members in the array
for(i=0; i<15; i++){
Array[i]=calloc(200, sizeof(char));
}
Now the words are separated by space but its not always one, sometimes is 1,2, 3 or more. Now how do I even begin to dissect this string into separate into words?