91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

武漢大學遙感專業必修課之GPS應用技術 解算GPS衛星空間位置

資源截圖

代碼片段和文件信息

//?GPSCoordinate.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“GPSCoordinate.h“

#include?“MainFrm.h“
#include?“GPSCoordinateDoc.h“
#include?“GPSCoordinateView.h“

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
//?CGPSCoordinateApp

BEGIN_MESSAGE_MAP(CGPSCoordinateApp?CWinApp)
//{{AFX_MSG_MAP(CGPSCoordinateApp)
ON_COMMAND(ID_APP_ABOUT?OnAppAbout)
//}}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()

/////////////////////////////////////////////////////////////////////////////
//?CGPSCoordinateApp?construction

CGPSCoordinateApp::CGPSCoordinateApp()
{
}

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CGPSCoordinateApp?object

CGPSCoordinateApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CGPSCoordinateApp?initialization

BOOL?CGPSCoordinateApp::InitInstance()
{
AfxEnableControlContainer();

//?Standard?initialization

#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.
SetRegistryKey(_T(“Local?AppWizard-Generated?Applications“));

LoadStdProfileSettings();??//?Load?standard?INI?file?options?(including?MRU)

//?Register?document?templates

CSingleDocTemplate*?pDocTemplate;
pDocTemplate?=?new?CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CGPSCoordinateDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CGPSCoordinateView));
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;
m_pMainWnd->ShowWindow(SW_SHOW);
m_pMainWnd->UpdateWindow();

m_pMainWnd->SetWindowText(“GPS衛星位置計算.... \t BY:??盧?昊“);
return?TRUE;
}


/////////////////////////////////////////////////////////////////////////////
//?CAboutDlg?dialog?used?for?App?About

class?CAboutDlg?:?public?CDialog
{
public:
CAboutDlg();

//?Dialog?Data
//{{AFX_DATA(CAboutDlg)
enum?{?IDD?=?IDD_ABOUTBOX?};
//}}AFX_DATA

//?ClassWizard?generated?virtual?function?overrides
//{{AFX_VIRTUAL(CAboutDlg)
protected:
virtual?void?DoDataExchange(CDataExchange*?pDX);????//?DDX/DDV?support
//}}AFX_VIRTUAL

//?Implementation
protected:
//{{AFX_MSG(CAboutDlg)
//?No?message?handlers
//}}AFX_MSG
DECLARE_ME

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件?????548864??2010-05-28?03:48??GPSCoordinate.exe

-----------?---------??----------?-----??----

???????????????548864????????????????????1


評論

共有 條評論