#include "func.h" void disp_help() { cout<<"xyz2gpx 1.0 - convet a xyz table file into .gpx file for portable GPX device"< [-o]"< "<2) { for (int i = 2; i < argc; ++i) { sscanf(argv[i],"%2s",command_type); if(!strcmp(command_type,OUTFILE))//命令为文件名设置符 { sscanf(argv[i],"%*2s%s",outname);//按格式读入文件名与扩展名 if(!strcmp(outname,""))//检查文件名是否为空 { cout< "<