It will also stop at 10 words per line.
I would highly recommend using a vector in this case.
yes, that is a better solution. But, like mine, it doesn't work when there are two or more adjacient semicolons (or some other column separator).
After testing, strtok() doesn't work right either because it also skips adjacent semicolons.