I want to make a "list" (array?) of words for a (really simple) game parser. If the word is found -> something happens. If not -> error. Found a tutorial for the actual loading part, but the format of the example txt-file is much more complex than mine. If I have a txt-file with one word/line and I want to read that file to an array. How do I do that? Here's a sample of the file contents:
foo
bar
something
useless
stuff
here
My array would be very simple as you can see. Only one column.
Running the latest personal version of C2.
All help highly appreciated