void VideoBorR::SearchData()
{
    VideoType vid;
    char videoTile[1000];
    cout<<"输入查询的碟片:";
    cin>>videoTile;
    file.seekg(0);
    file.read((char*)&vid,sizeof(VideoType));
    while(!file.eof())
    {
        [color=FF0000]if(!strcmp(vid.videoTile,videoTile)&&![/color]vid.delTag) break;
        file.read((char*)&vid,sizeof(VideoType));[/color][/color]    }
    if(!file.eof())
    {
        cout<<vid.videoTile<<vid.numofCopies<<endl;
    }
    else
    {
        cout<<"没有这部电影的碟片记录"<<endl;
        file.clear();
    }
    红色部分代码该怎么改,,才能进行正常的查找??