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

  • 大小: 2.29MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2023-09-29
  • 語(yǔ)言: C/C++
  • 標(biāo)簽: 點(diǎn)緩沖區(qū)??

資源簡(jiǎn)介

運(yùn)用C++語(yǔ)言生成一個(gè)單文檔程序,然后點(diǎn)一些點(diǎn)后,再在對(duì)話框中輸入緩沖區(qū)半徑之后,就可以生成這些點(diǎn)的緩沖區(qū)!

資源截圖

代碼片段和文件信息

//?MainFrm.cpp?:?implementation?of?the?CMainframe?class
//

#include?“stdafx.h“
#include?“pointbuffer.h“

#include?“MainFrm.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CMainframe

IMPLEMENT_DYNCREATE(CMainframe?CframeWnd)

BEGIN_MESSAGE_MAP(CMainframe?CframeWnd)
//{{AFX_MSG_MAP(CMainframe)
ON_WM_CREATE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

static?UINT?indicators[]?=
{
ID_SEPARATOR???????????//?status?line?indicator
ID_INDICATOR_CAPS
ID_INDICATOR_NUM
ID_INDICATOR_SCRL
};

/////////////////////////////////////////////////////////////////////////////
//?CMainframe?construction/destruction

CMainframe::CMainframe()
{
//?TODO:?add?member?initialization?code?here

}

CMainframe::~CMainframe()
{
}

int?CMainframe::OnCreate(LPCREATESTRUCT?lpCreateStruct)
{
if?(CframeWnd::OnCreate(lpCreateStruct)?==?-1)
return?-1;

if?(!m_wndToolBar.CreateEx(this?TBstyle_FLAT?WS_CHILD?|?WS_VISIBLE?|?CBRS_TOP
|?CBRS_GRIPPER?|?CBRS_TOOLTIPS?|?CBRS_FLYBY?|?CBRS_SIZE_DYNAMIC)?||
!m_wndToolBar.LoadToolBar(IDR_MAINframe))
{
TRACE0(“Failed?to?create?toolbar\n“);
return?-1;??????//?fail?to?create
}

if?(!m_wndStatusBar.Create(this)?||
!m_wndStatusBar.SetIndicators(indicators
??sizeof(indicators)/sizeof(UINT)))
{
TRACE0(“Failed?to?create?status?bar\n“);
return?-1;??????//?fail?to?create
}

//?TODO:?Delete?these?three?lines?if?you?don‘t?want?the?toolbar?to
//??be?dockable
m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);
EnableDocking(CBRS_ALIGN_ANY);
DockControlBar(&m_wndToolBar);

return?0;
}

BOOL?CMainframe::PreCreateWindow(CREATESTRUCT&?cs)
{
if(?!CframeWnd::PreCreateWindow(cs)?)
return?FALSE;
//?TODO:?Modify?the?Window?class?or?styles?here?by?modifying
//??the?CREATESTRUCT?cs

return?TRUE;
}

/////////////////////////////////////////////////////////////////////////////
//?CMainframe?diagnostics

#ifdef?_DEBUG
void?CMainframe::AssertValid()?const
{
CframeWnd::AssertValid();
}

void?CMainframe::Dump(CDumpContext&?dc)?const
{
CframeWnd::Dump(dc);
}

#endif?//_DEBUG

/////////////////////////////////////////////////////////////////////////////
//?CMainframe?message?handlers



?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2012-11-13?00:05??pointbuffer\
?????目錄???????????0??2012-11-13?00:04??pointbuffer\Debug\
?????文件???????20018??2012-11-03?18:19??pointbuffer\Debug\MainFrm.obj
?????文件??????118869??2012-11-13?00:03??pointbuffer\Debug\pointbuffer.exe
?????文件??????339780??2012-11-13?00:03??pointbuffer\Debug\pointbuffer.ilk
?????文件???????23312??2012-11-12?23:50??pointbuffer\Debug\pointbuffer.obj
?????文件?????5492816??2012-11-03?17:31??pointbuffer\Debug\pointbuffer.pch
?????文件??????476160??2012-11-13?00:03??pointbuffer\Debug\pointbuffer.pdb
?????文件????????7640??2012-11-12?22:28??pointbuffer\Debug\pointbuffer.res
?????文件???????15066??2012-11-03?17:31??pointbuffer\Debug\pointbufferDoc.obj
?????文件???????27399??2012-11-13?00:03??pointbuffer\Debug\pointbufferView.obj
?????文件???????10529??2012-11-12?21:04??pointbuffer\Debug\RadiusDialog.obj
?????文件??????105721??2012-11-03?17:31??pointbuffer\Debug\StdAfx.obj
?????文件??????222208??2012-11-13?00:03??pointbuffer\Debug\vc60.idb
?????文件??????372736??2012-11-13?00:03??pointbuffer\Debug\vc60.pdb
?????文件????????2374??2012-11-03?18:18??pointbuffer\MainFrm.cpp
?????文件????????1440??2012-11-03?18:18??pointbuffer\MainFrm.h
?????文件???????44812??2012-11-12?22:28??pointbuffer\pointbuffer.aps
?????文件????????2910??2012-11-13?00:04??pointbuffer\pointbuffer.clw
?????文件????????4299??2012-11-03?16:56??pointbuffer\pointbuffer.cpp
?????文件????????4796??2012-11-03?18:46??pointbuffer\pointbuffer.dsp
?????文件?????????530??2012-11-03?18:46??pointbuffer\pointbuffer.dsw
?????文件????????1411??2012-11-03?16:56??pointbuffer\pointbuffer.h
?????文件???????74752??2012-11-13?00:04??pointbuffer\pointbuffer.ncb
?????文件???????48640??2012-11-13?00:04??pointbuffer\pointbuffer.opt
?????文件?????????783??2012-11-13?00:03??pointbuffer\pointbuffer.plg
?????文件???????12499??2012-11-12?22:28??pointbuffer\pointbuffer.rc
?????文件????????1842??2012-11-03?16:56??pointbuffer\pointbufferDoc.cpp
?????文件????????1530??2012-11-03?16:56??pointbuffer\pointbufferDoc.h
?????文件????????4753??2012-11-13?00:03??pointbuffer\pointbufferView.cpp
?????文件????????2158??2012-11-12?23:50??pointbuffer\pointbufferView.h
............此處省略12個(gè)文件信息

評(píng)論

共有 條評(píng)論

相關(guān)資源