读入文件为什么程序会是死循环
file.open(FileName);
while (!file.eof())
{
file.getline(Line,600);
int iKind = LineKind(Line);
physiccounter++;
if (4 == iKind)
{
codecounter++;
}
else if (1 == iKind)
{
commentcounter++;
}
/* else if (2 == iKind)
{
commentcounter++;
file.getline(Line,600);
iKind = LineKind(Line);
if (3 != iKind)
{
file.getline(Line,600);
}
}*/
}
file.close();