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

  • 大小: 2.84MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2024-01-24
  • 語(yǔ)言: C/C++
  • 標(biāo)簽:

資源簡(jiǎn)介

車牌識(shí)別系統(tǒng)車牌識(shí)別系統(tǒng)車牌識(shí)別系統(tǒng)車牌識(shí)別系統(tǒng)

資源截圖

代碼片段和文件信息

//?BmpTestDoc.cpp?:?implementation?of?the?CBmpTestDoc?class
//

#include?“stdafx.h“
#include?“BmpTest.h“

#include?“BmpTestDoc.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CBmpTestDoc

IMPLEMENT_DYNCREATE(CBmpTestDoc?CDocument)

BEGIN_MESSAGE_MAP(CBmpTestDoc?CDocument)
//{{AFX_MSG_MAP(CBmpTestDoc)
ON_COMMAND(ID_FILE_SAVE?OnFileSave)
ON_COMMAND(ID_FILE_SAVE_AS?OnFileSaveAs)
ON_COMMAND(ID_PICK?OnPick)
ON_COMMAND(ID_FILE_OPENC?OnFileOpenc)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CBmpTestDoc?construction/destruction

CBmpTestDoc::CBmpTestDoc()
{
//?TODO:?add?one-time?construction?code?here

}

CBmpTestDoc::~CBmpTestDoc()
{
}

BOOL?CBmpTestDoc::OnNewDocument()
{
if?(!CDocument::OnNewDocument())
return?FALSE;

//?TODO:?add?reinitialization?code?here
//?(SDI?documents?will?reuse?this?document)

return?TRUE;
}



/////////////////////////////////////////////////////////////////////////////
//?CBmpTestDoc?serialization

void?CBmpTestDoc::Serialize(CArchive&?ar)
{
CString?str;
CFile?*?file;
LPCTSTR?fn;
file=ar.GetFile();
str=file->GetFileName();
fn=str.GetBuffer(str.GetLength());
if?(ar.IsStoring())
{
//?TODO:?add?storing?code?here
m_Dib.SaveBmp(fn);
}
else
{
//?TODO:?add?loading?code?here
m_Dib.LoadBmp(fn);
}
????m_BM=true;
}

/////////////////////////////////////////////////////////////////////////////
//?CBmpTestDoc?diagnostics

#ifdef?_DEBUG
void?CBmpTestDoc::AssertValid()?const
{
CDocument::AssertValid();
}

void?CBmpTestDoc::Dump(CDumpContext&?dc)?const
{
CDocument::Dump(dc);
}
#endif?//_DEBUG

/////////////////////////////////////////////////////////////////////////////
//?CBmpTestDoc?commands

void?CBmpTestDoc::OnFileSave()?
{
//?TODO:?Add?your?command?handler?code?here
CString?str;
LPCTSTR?fn;
str=GetPathName();
fn=str.GetBuffer(100);
m_Dib.SaveBmp(fn);
}

void?CBmpTestDoc::OnFileSaveAs()?
{
//?TODO:?Add?your?command?handler?code?here
CString?str;
LPCTSTR?fn;
CFileDialog?fd(FALSE
???NULL
???NULL
???OFN_HIDEREADONLY?|?OFN_OVERWRITEPROMPT
???“Windows?Bmp?files(*.bmp)|*.bmp|All?files(*.*)|*.*||“
???);
if(fd.DoModal()==IDOK)
{
str=fd.GetPathName();
if(str.Find(“.bmp“)==-1)
{
str=str+“.bmp“;
}
fn=str.GetBuffer(100);
m_Dib.SaveBmp(fn);
SetPathName(fn);
}
}

void?CBmpTestDoc::OnPick()?
{
//?TODO:?Add?your?command?handler?code?here
m_Dib.PickBitmapToFile(“子畫面.bmp“
???20
???20
???231
???241
???);
}

void?CBmpTestDoc::OnFileOpenc()?
{
//?TODO:?Add?your?command?handler?code?here
static?CFileFind?fFind;
CString?strName;
????static?BOOL?ffind=fFind.FindFile(“D:\\郭大波\\做測(cè)試的一些數(shù)據(jù)\

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

?????文件?????124928??2007-01-09?16:32??VehicleBorad\1.opt

?????文件?????386048??2007-01-09?16:32??VehicleBorad\a.ncb

?????文件??????73336??2010-05-20?10:03??VehicleBorad\BmpTest.aps

?????文件???????4968??2010-05-20?10:03??VehicleBorad\BmpTest.clw

?????文件???????4227??2002-01-29?20:23??VehicleBorad\BMPTEST.CPP

?????文件???????5925??2002-04-10?17:19??VehicleBorad\Bmptest.dsp

?????文件????????537??2002-01-29?20:23??VehicleBorad\Bmptest.dsw

?????文件???????1532??2002-03-13?16:01??VehicleBorad\Bmptest.h

?????文件?????263168??2010-05-20?10:03??VehicleBorad\BMPTEST.NCB

?????文件??????50688??2010-05-20?10:03??VehicleBorad\Bmptest.opt

?????文件???????9239??2010-05-20?10:03??VehicleBorad\BMPTEST.PLG

?????文件??????19040??2003-10-11?16:38??VehicleBorad\BmpTest.rc

?????文件???????3175??2002-09-28?14:48??VehicleBorad\Bmptestdoc.cpp

?????文件???????1527??2002-09-28?14:48??VehicleBorad\Bmptestdoc.h

?????文件??????66807??2003-10-20?17:27??VehicleBorad\Bmptestview.cpp

?????文件???????3464??2003-10-11?16:03??VehicleBorad\Bmptestview.h

?????文件?????286833??2010-05-20?10:03??VehicleBorad\Debug\Bmptest.exe

?????文件?????454156??2010-05-20?10:03??VehicleBorad\Debug\Bmptest.ilk

?????文件??????23894??2010-05-20?10:03??VehicleBorad\Debug\BmpTest.obj

?????文件????5490100??2010-05-20?10:03??VehicleBorad\Debug\Bmptest.pch

?????文件?????459776??2010-05-20?10:03??VehicleBorad\Debug\Bmptest.pdb

?????文件??????46600??2010-05-20?10:03??VehicleBorad\Debug\BmpTest.res

?????文件??????30265??2010-05-20?10:03??VehicleBorad\Debug\BmpTestDoc.obj

?????文件?????137473??2010-05-20?10:03??VehicleBorad\Debug\BmpTestView.obj

?????文件??????26183??2010-05-20?10:03??VehicleBorad\Debug\HDib.obj

?????文件??????72196??2010-05-20?10:03??VehicleBorad\Debug\ImageProcessing.obj

?????文件??????20276??2010-05-20?10:03??VehicleBorad\Debug\MainFrm.obj

?????文件??????12250??2010-05-20?10:03??VehicleBorad\Debug\NumberDlg.obj

?????文件?????105895??2010-05-20?10:03??VehicleBorad\Debug\StdAfx.obj

?????文件?????222208??2010-05-20?10:05??VehicleBorad\Debug\vc60.idb

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

評(píng)論

共有 條評(píng)論