嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):78630559
本次赞助数额为: 2 元微信扫码支付:2 元
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
#include <iostream>
#include <string>
#include "ReadObsFun.h"
#include "ReadNavFun.h"
using namespace std;
void main()
{
string path;
cout<<"请输入文件路径:"<<endl;
getline(cin,path);
char ch=*(path.end()-1);
FILE *fp;
fp=fopen(path.c_str(),"r");
if(!fp)
cout<<"无效路径"<<endl;
else
{
GMO gmo;
GMN gmn;
// SP3 sp3;
switch(ch)
{
case 'o':
case 'O':
ReadWholeOBS(fp,gmo);
break;
case 'n':
case 'N':
ReadWholeNAV(fp,gmn);
break;
// case '3':
// ReadWholeSP3(fp,sp3);
// break;
default:
cout<<"无效文件"<<endl;
}
}
fclose(fp);
}
【源码目录】
readrinex
├── Debug
│ ├── readrinex.exe
│ ├── readrinex.ilk
│ └── readrinex.pdb
├── ipch
│ └── readrinex-abd26d32
│ └── readrinex-5f47f10e.ipch
├── readrinex
│ ├── CommonFun.cpp
│ ├── CommonFun.h
│ ├── CommonStruct.h
│ ├── Debug
│ │ ├── CL.read.1.tlog
│ │ ├── CL.write.1.tlog
│ │ ├── CommonFun.obj
│ │ ├── Main.obj
│ │ ├── ReadNavFun.obj
│ │ ├── ReadObsFun.obj
│ │ ├── cl.command.1.tlog
│ │ ├── link-cvtres.read.1.tlog
│ │ ├── link-cvtres.write.1.tlog
│ │ ├── link.1072-cvtres.read.1.tlog
│ │ ├── link.1072-cvtres.write.1.tlog
│ │ ├── link.1072.read.1.tlog
│ │ ├── link.1072.write.1.tlog
│ │ ├── link.5532-cvtres.read.1.tlog
│ │ ├── link.5532-cvtres.write.1.tlog
│ │ ├── link.5532.read.1.tlog
│ │ ├── link.5532.write.1.tlog
│ │ ├── link.command.1.tlog
│ │ ├── link.read.1.tlog
│ │ ├── link.write.1.tlog
│ │ ├── mt.command.1.tlog
│ │ ├── mt.read.1.tlog
│ │ ├── mt.write.1.tlog
│ │ ├── rc.command.1.tlog
│ │ ├── rc.read.1.tlog
│ │ ├── rc.write.1.tlog
│ │ ├── readrinex.exe.embed.manifest
│ │ ├── readrinex.exe.embed.manifest.res
│ │ ├── readrinex.exe.intermediate.manifest
│ │ ├── readrinex.lastbuildstate
│ │ ├── readrinex.log
│ │ ├── readrinex.vcxprojResolveAssemblyReference.cache
│ │ ├── readrinex.write.1.tlog
│ │ ├── readrinex_manifest.rc
│ │ ├── vc100.idb
│ │ └── vc100.pdb
│ ├── Main.cpp
│ ├── ReadNav.h
│ ├── ReadNavFun.cpp
│ ├── ReadNavFun.h
│ ├── ReadObs.h
│ ├── ReadObsFun.cpp
│ ├── ReadObsFun.h
│ ├── readrinex.vcxproj
│ ├── readrinex.vcxproj.filters
│ └── readrinex.vcxproj.user
├── readrinex.sdf
├── readrinex.sln
└── readrinex.suo
5 directories, 56 files