资源简介
gps 读取卫星星历文件计算卫星位置,很好用,可以计算出当时卫星位置
代码片段和文件信息
// GPSPosition.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “GPSPosition.h“
#include “MainFrm.h“
#include “GPSPositionDoc.h“
#include “GPSPositionView.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CGPSPositionApp
BEGIN_MESSAGE_MAP(CGPSPositionApp CWinApp)
//{{AFX_MSG_MAP(CGPSPositionApp)
ON_COMMAND(ID_APP_ABOUT OnAppAbout)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG_MAP
// Standard file based document commands
ON_COMMAND(ID_FILE_NEW CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN CWinApp::OnFileOpen)
// Standard print setup command
ON_COMMAND(ID_FILE_PRINT_SETUP CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CGPSPositionApp construction
CGPSPositionApp::CGPSPositionApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CGPSPositionApp object
CGPSPositionApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CGPSPositionApp initialization
BOOL CGPSPositionApp::InitInstance()
{
AfxEnableControlContainer();
// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable you should remove from the following
// the specific initialization routines you do not need.
#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif
// Change the registry key under which our settings are stored.
// TODO: You should modify this string to be something appropriate
// such as the name of your company or organization.
SetRegistryKey(_T(“Local AppWizard-Generated Applications“));
LoadStdProfileSettings(); // Load standard INI file options (including MRU)
// Register the application‘s document templates. Document templates
// serve as the connection between documents frame windows and views.
CSingleDocTemplate* pDocTemplate;
pDocTemplate = new CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CGPSPositionDoc)
RUNTIME_CLASS(CMainframe) // main SDI frame window
RUNTIME_CLASS(CGPSPositionView));
AddDocTemplate(pDocTemplate);
// Parse command line for standard shell commands DDE file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
// Dispatch commands specified on the command line
if (!ProcessShellCommand(cmdInfo))
return FALSE;
// The one and only window has been initialized so show and update it.
m
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 246896 2010-03-27 12:40 GPSPosition\BRDC1380.03N
文件 31032 2010-04-23 18:57 GPSPosition\GPSPosition.aps
文件 4515 2010-04-25 13:23 GPSPosition\GPSPosition.clw
文件 4304 2010-03-29 15:09 GPSPosition\GPSPosition.cpp
文件 4927 2010-03-29 23:01 GPSPosition\GPSPosition.dsp
文件 528 2010-03-29 13:57 GPSPosition\GPSPosition.dsw
文件 1411 2010-03-29 13:57 GPSPosition\GPSPosition.h
文件 181248 2010-04-25 13:23 GPSPosition\GPSPosition.ncb
文件 1528 2010-04-24 14:40 GPSPosition\GPSPosition.plg
文件 14186 2010-03-30 20:05 GPSPosition\GPSPosition.rc
文件 1842 2010-03-29 13:57 GPSPosition\GPSPositionDoc.cpp
文件 1530 2010-03-29 22:44 GPSPosition\GPSPositionDoc.h
文件 1977 2010-03-30 17:53 GPSPosition\GPSPositionView.h
文件 2512 2010-03-29 13:57 GPSPosition\MainFrm.cpp
文件 1581 2010-03-29 13:57 GPSPosition\MainFrm.h
文件 4431 2010-03-29 13:57 GPSPosition\ReadMe.txt
文件 1655 2010-03-30 20:05 GPSPosition\resource.h
文件 1534 2010-03-30 20:04 GPSPosition\ShowResult.h
文件 213 2010-03-29 13:57 GPSPosition\StdAfx.cpp
文件 1054 2010-03-29 13:57 GPSPosition\StdAfx.h
文件 1078 2010-03-29 13:57 GPSPosition\res\GPSPosition.ico
文件 403 2010-03-29 13:57 GPSPosition\res\GPSPosition.rc2
文件 1078 2010-03-29 13:57 GPSPosition\res\GPSPositionDoc.ico
文件 1078 2010-03-29 13:57 GPSPosition\res\Toolbar.bmp
文件 2475 2010-04-23 22:31 GPSPosition\ShowResult.cpp
文件 8211 2010-04-23 22:31 GPSPosition\GPSReadData.cpp
文件 3805 2010-04-24 14:40 GPSPosition\GPSPositionView.cpp
文件 1803 2010-04-24 19:23 GPSPosition\GPSReadData.h
文件 58880 2010-04-25 13:23 GPSPosition\GPSPosition.opt
目录 0 2010-04-23 18:46 GPSPosition\res
............此处省略4个文件信息
评论
共有 条评论