gpspositon.cpp

来自「GPS单点定位程序,利用伪距测量进行单点定位。写得很优秀」· C++ 代码 · 共 35 行

CPP
35
字号
// GPSPositon.cpp : 定义控制台应用程序的入口点。
//

#include "stdafx.h"
#include "RinexNavRead.h"
#include "RinexObsRead.h"
#include "stdlib.h"
#include "ComputeSatPosition.h"
#include "DataManage.h"
#include <iostream>

using namespace std;

int _tmain(int argc, _TCHAR* argv[])
{
 char strn[100],stro[100];
cout<<"单点定位与导航:"<<endl;
cout<<"请输入导航文件名:";
gets(strn);
cout<<"请输入观测值文件名:";
gets(stro);

string path(stro);
GMO worun;
worun=ReadRinexObsFile(path);
string pathnav(strn);
vector<GMNREC>  nav;
 nav=ReadRinexNavFile(pathnav);
vector<PPONERESULT>  all;
all=PP(worun,nav);
 ResultOut(all);
	return 0;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?