I'm trying to save the words of a sentence that is entered by the user in different strings. The problem is that I have no idea how to write that a space marks the beginning of a new word. Would appreciate any help or suggestions.
Please don't tell people to use strtok(). The function has serious limitations and almost no one (even among experienced programmers) knows how to use it properly.
Whatever the limitations might be, I'm sure the extent of OP's problem does not uncover those limitation. And how do you know that almost no one uses this function?
I love it when some snot starts making wild statements.
If you understood strtok(), you would know that the OP (and every other beginner who has ever touched it) will almost certainly "uncover those limitation".
Forums all over the internet for three generations are filled with posts about how to make strtok() behave.
Also, be careful how you represent me. I didn't say "almost no one uses it". I said "almost no one knows how to use it properly."