二叉树实验

nidibin 33 0 7Z 2019-01-19 03:01:59

void load_bitre_file(bitre &t,char ss[100]) //构建文件二叉树 { char bs[6];int x;FILE *ff; ff=fopen(ss,"r"); if(ff==NULL){ printf("\ncan't open file!\007"); exit(1); } fscanf(ff,"%s",bs); while(fgetc(ff)!='\n'); fscanf(ff,"%d",&x); while (fgetc(ff)!='\n'); if(strcmp(bs,"bitre")) printf("

用户评论
请输入评论内容
评分:
暂无评论