Thank you so much
I pieced together a demo, using what you said, although I can't seem to catch when the last element was reached..
for example

if (names[i] != " " || names[i] != "\0")
{
cout << names[i];
cout << "\t";
}

doesn't work.

Although it still prints up to 150, with all the spaces and such, pushing everything that was printed off the screen.