|   | #2rjsp2019-07-29 20:23 | 
    int read_Checkerboard_List()         //读取棋盘文件列表
{
    FILE *get_qp_list=NULL;                  //获取棋盘列表
    int num_flag=1,num=1;                        //num_flag读取数据类别,num需要读取的个数
    char ch,filename[50];
    get_qp_list=fopen("./LIST/List.txt","r");   //显示文件列表
    if(num_flag==1)                             //查找nume的值
    {
        ch=fgetc(get_qp_list);                  //读取列表中name的值
        if(ch==list_flag.str_name[i])
            i++;
        else
            i=0;
        if(i==list_flag_num[1])
        {
            i=0;
            k++;
            printf("\n%3d.  ",k);
            do
            {
                ch=fgetc(get_qp_list);
                switch(ch)
                {
                    ...
                }
            }while(m==0);
            m=0;
            num_flag++;
        }
    }
    if(num_flag==2)
        num_flag=read_Checkerboard_List_Describe(....);         //读取棋盘文件列表描述文件
}
void read_Checkerboard_List_Describe(int num,int num_flag,char list_flag[20],int length)         
{
    int i=0,m=0;
    char ch;
    ch=fgetc(get_qp_list);                
    if(ch==list_flag[i])
        i++;
    else
        i=0;
    if(i==length)
    {
        i=0;
        printf("\t");
        do
        {
            ch=fgetc(get_qp_list);
            switch(ch)
            {
                ...
        }while(m==0);
        num_flag++;
    }
    return num_flag;
}
我在一个函数中定义了一个FILE指针get_qp_list,用以读取一个文件,我想在他的子函数中继续读取该文件,不是从头开始,而是接着主函数读取的地方继续读取,请教各问大神。该程序在一个函数中已经成功运行,现在想分成两个函数运行。  
