Can't figure out string tokenizer
So my problem is that I have to use string tokenizer for a project and we have to read from a file and make the data into tokens which we then have to put into 2 stacks implemented via doubly linked lists by the A(adds) and D(deletes). I have my doubly linked list class, linkstack class, and all other classes neccesary already set up. However, I cannot figure out string tokenizer and how to use it with a file.
Let me know what you think.
The file i have to use it this:
A Trafalgar TTTTT Western_Europe 4 11111
A Lapland LLLLL Northern_Europe 4 22222
A Saar SSSSS Western_Europe 3 33333
A Yugoslavia Belgrade Central_Europe 4 44444
A Yemen Sanaa West_Asia 4 66776
A Spain Madrid Western_Europe 3 33333