xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

資源簡(jiǎn)介

分別用暴力法和遞歸方法實(shí)現(xiàn)了最近點(diǎn)對(duì)的計(jì)算,并且?guī)в袌D形界面!

資源截圖

代碼片段和文件信息

//?ClosestPoints.cpp?:?定義應(yīng)用程序的類行為。
//

#include?“stdafx.h“
#include?“ClosestPoints.h“
#include?“MainFrm.h“

#include?“ClosestPointsDoc.h“
#include?“ClosestPointsView.h“

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#endif


//?CClosestPointsApp

BEGIN_MESSAGE_MAP(CClosestPointsApp?CWinApp)
ON_COMMAND(ID_APP_ABOUT?&CClosestPointsApp::OnAppAbout)
//?基于文件的標(biāo)準(zhǔn)文檔命令
ON_COMMAND(ID_FILE_NEW?&CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN?&CWinApp::OnFileOpen)
//?標(biāo)準(zhǔn)打印設(shè)置命令
ON_COMMAND(ID_FILE_PRINT_SETUP?&CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()


//?CClosestPointsApp?構(gòu)造

CClosestPointsApp::CClosestPointsApp()
{
//?TODO:?在此處添加構(gòu)造代碼,
//?將所有重要的初始化放置在?InitInstance?中
}


//?唯一的一個(gè)?CClosestPointsApp?對(duì)象

CClosestPointsApp?theApp;


//?CClosestPointsApp?初始化

BOOL?CClosestPointsApp::InitInstance()
{
//?如果一個(gè)運(yùn)行在?Windows?XP?上的應(yīng)用程序清單指定要
//?使用?ComCtl32.dll?版本?6?或更高版本來啟用可視化方式,
//則需要?InitCommonControlsEx()。否則,將無法創(chuàng)建窗口。
INITCOMMONCONTROLSEX?InitCtrls;
InitCtrls.dwSize?=?sizeof(InitCtrls);
//?將它設(shè)置為包括所有要在應(yīng)用程序中使用的
//?公共控件類。
InitCtrls.dwICC?=?ICC_WIN95_CLASSES;
InitCommonControlsEx(&InitCtrls);

CWinApp::InitInstance();

//?初始化?OLE?庫
if?(!AfxOleInit())
{
AfxMessageBox(IDP_OLE_INIT_FAILED);
return?FALSE;
}
AfxEnableControlContainer();
//?標(biāo)準(zhǔn)初始化
//?如果未使用這些功能并希望減小
//?最終可執(zhí)行文件的大小,則應(yīng)移除下列
//?不需要的特定初始化例程
//?更改用于存儲(chǔ)設(shè)置的注冊(cè)表項(xiàng)
//?TODO:?應(yīng)適當(dāng)修改該字符串,
//?例如修改為公司或組織名
SetRegistryKey(_T(“應(yīng)用程序向?qū)傻谋镜貞?yīng)用程序“));
LoadStdProfileSettings(4);??//?加載標(biāo)準(zhǔn)?INI?文件選項(xiàng)(包括?MRU)
//?注冊(cè)應(yīng)用程序的文檔模板。文檔模板
//?將用作文檔、框架窗口和視圖之間的連接
CSingleDocTemplate*?pDocTemplate;
pDocTemplate?=?new?CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CClosestPointsDoc)
RUNTIME_CLASS(CMainframe)???????//?主?SDI?框架窗口
RUNTIME_CLASS(CClosestPointsView));
if?(!pDocTemplate)
return?FALSE;
AddDocTemplate(pDocTemplate);



//?分析標(biāo)準(zhǔn)外殼命令、DDE、打開文件操作的命令行
CCommandLineInfo?cmdInfo;
ParseCommandLine(cmdInfo);


//?調(diào)度在命令行中指定的命令。如果
//?用?/RegServer、/Register、/Unregserver?或?/Unregister?啟動(dòng)應(yīng)用程序,則返回?FALSE。
if?(!ProcessShellCommand(cmdInfo))
return?FALSE;

//?唯一的一個(gè)窗口已初始化,因此顯示它并對(duì)其進(jìn)行更新
m_pMainWnd->ShowWindow(SW_SHOW);
m_pMainWnd->UpdateWindow();
//?僅當(dāng)具有后綴時(shí)才調(diào)用?DragAcceptFiles
//??在?SDI?應(yīng)用程序中,這應(yīng)在?ProcessShellCommand??之后發(fā)生
return?TRUE;
}



//?用于應(yīng)用程序“關(guān)于”菜單項(xiàng)的?CAboutDlg?對(duì)話框

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

//?對(duì)話框數(shù)據(jù)
enum?{?IDD?=?IDD_ABOUTBOX?};

protected:
virtual?void?DoDataExchange(CDataExchange*?pDX);????//?DDX/DDV?支持

//?實(shí)現(xiàn)
protected:
DECLARE_MESSAGE_MAP()
};

CAboutDlg::CAboutDlg()?:?CDialog(CAboutDlg::IDD)
{
}

void?CAboutDlg::DoDataExchange(CDataExchange*?pDX)
{
CDialog::DoDataExchange(pDX);
}

BEGIN_MESSAGE_MAP(CAboutDlg?CDialog)
END_MESSAGE_MAP()

//?用于運(yùn)行對(duì)話框的應(yīng)用程序命令
void?CClosestPointsApp::OnAppAbout()
{
CAboutDlg?aboutDlg;
aboutDlg.DoModal();
}


//?CClosestPointsApp?消息處理程序


?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----

?????文件????????904??2010-10-07?18:54??ClosestPoints\ClosestPoints.sln

????..A..H.?????44032??2011-09-13?10:54??ClosestPoints\ClosestPoints.suo

?????文件?????200704??2011-01-09?21:17??ClosestPoints\debug\ClosestPoints.exe

?????文件????1424016??2011-01-09?21:17??ClosestPoints\debug\ClosestPoints.ilk

?????文件????3722240??2011-01-09?21:17??ClosestPoints\debug\ClosestPoints.pdb

?????文件??????55452??2010-10-29?18:31??ClosestPoints\ClosestPoints\ClosestPoints.aps

?????文件???????3372??2010-10-07?18:54??ClosestPoints\ClosestPoints\ClosestPoints.cpp

?????文件????????515??2010-10-07?18:54??ClosestPoints\ClosestPoints\ClosestPoints.h

?????文件??????12501??2010-10-08?14:14??ClosestPoints\ClosestPoints\ClosestPoints.rc

?????文件???????6243??2010-10-08?14:04??ClosestPoints\ClosestPoints\ClosestPoints.vcproj

?????文件???????1413??2010-10-07?21:21??ClosestPoints\ClosestPoints\ClosestPoints.vcproj.RJXY-001.student.user

?????文件???????1427??2011-01-09?21:29??ClosestPoints\ClosestPoints\ClosestPoints.vcproj.WWW-B5CAB9F3420.Administrator.user

?????文件???????1151??2010-10-29?18:32??ClosestPoints\ClosestPoints\ClosestPointsDoc.cpp

?????文件????????588??2010-10-07?18:54??ClosestPoints\ClosestPoints\ClosestPointsDoc.h

?????文件???????9382??2010-10-29?18:33??ClosestPoints\ClosestPoints\ClosestPointsView.cpp

?????文件???????1570??2010-10-08?13:59??ClosestPoints\ClosestPoints\ClosestPointsView.h

?????文件????????721??2010-10-08?14:15??ClosestPoints\ClosestPoints\DistInfo.cpp

?????文件????????617??2010-10-08?14:19??ClosestPoints\ClosestPoints\DistInfo.h

?????文件???????1803??2010-10-07?18:54??ClosestPoints\ClosestPoints\MainFrm.cpp

?????文件????????655??2010-10-07?18:54??ClosestPoints\ClosestPoints\MainFrm.h

?????文件??????11062??2010-10-07?21:14??ClosestPoints\ClosestPoints\Nlogn.cpp

?????文件????????835??2010-10-07?21:15??ClosestPoints\ClosestPoints\Nlogn.h

?????文件????????742??2010-10-08?01:09??ClosestPoints\ClosestPoints\Nsquare.cpp

?????文件????????398??2010-10-08?01:09??ClosestPoints\ClosestPoints\Nsquare.h

?????文件???????3574??2010-10-07?18:54??ClosestPoints\ClosestPoints\ReadMe.txt

?????文件???????1194??2010-10-08?14:14??ClosestPoints\ClosestPoints\resource.h

?????文件????????144??2010-10-07?18:54??ClosestPoints\ClosestPoints\stdafx.cpp

?????文件???????2489??2010-10-07?18:54??ClosestPoints\ClosestPoints\stdafx.h

?????文件??????21630??2005-12-08?14:56??ClosestPoints\ClosestPoints\res\ClosestPoints.ico

?????文件????????369??2010-10-07?18:54??ClosestPoints\ClosestPoints\res\ClosestPoints.rc2

............此處省略29個(gè)文件信息

評(píng)論

共有 條評(píng)論