I am reading from a file and would like to store only the last word of each line in an array.
This is line one\n
This is line two\n
I would like to store the word one and then the word two, disregarding the other words.
Can anyone offer any help, Im using c?