Hello,
I have a program that i need to input a sentences from file and do with them some thing.
I inputed it by fgets fun, and saved them at array.
Now i want to cut the every sentence to words, such is:
these sentences:
Hello world You need to write some woRm words.
This is an Example.
Hello, how are you today?
This is a shining sword that belongs to the wordy swordsmanS.
if I want to get every word in the sentence and save them (for example in array), like this (for the first line):
Hello
world
You
need
to
write
some
woRm
words.
how can I do this ?