Hey everyone, long time lurker first timer poster :icon_cool:
For the past week I've been trying to come up with a way of doing this but I just can't seem to think and implement anything that will work.
Basicly I have a string such as "Welcome to my program"
I want to be able to address each word in that such as putting them into a structure so it could work like this:
word1.txt = "Welcome"
word2.txt = "to"
word3.txt = "my"
word4.txt = "program"
However the string will be dynamic and I've read a little bit about strtok seperate the words with a token but I can't figure out any method to make this work.
Any help is appreciated.