/*匹配索引match_num*/strcpy(curFile, curDir);strcat(curFile,"\\matchline_num.dat");if(!(fp1 =fopen(curFile,"wt"))){puts("can not open this file \n");exit(0);}fprintf(fp1,"%s \n", \
"匹配索引");fprintf(fp1,"%.10lf\n",*match_num);/*存匹配结果 经纬度final_match*/strcpy(curFile, curDir);strcat(curFile,"\\matchline_finalmatch.dat");if(!(fp2 =fopen(curFile,"wt"))){puts("can not open this file \n");exit(0);}if(!(fp2 =fopen(curFile,"wt"))){puts("can not open this file \n");exit(0);}fprintf(fp2,"%s %s %s\n", \
"匹配结果","经度","纬度");for(int ix =0; ix <60; ix++){fprintf(fp2,"%d %lf %lf\n",ix, final_match[ix], final_match[60+ix]);}