This is not correct. eof() should only be used after you couldn't read from the stream, to know if it was caused by the end of file.
The correct version would be:
while(filein >> itemp >> ctemp >> btemp)
{
tiletype.push_back(itemp);
solid.push_back(btemp);
}
By the way, next time you post for a problem, don't forget to give us information about the problem (what errors do you get, where, what happens, what you tried, ...). "Can someone hlep me with this?" is definitely not enough.