資源簡介
將一幅黑白圖像進(jìn)行三種變換,變成彩色圖片

代碼片段和文件信息
//?chap1_5.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“chap1_5.h“
#include?“MainFrm.h“
#include?“ChildFrm.h“
#include?“chap1_5Doc.h“
#include?“chap1_5View.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CChap1_5App
BEGIN_MESSAGE_MAP(CChap1_5App?CWinApp)
//{{AFX_MSG_MAP(CChap1_5App)
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)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CChap1_5App?construction
CChap1_5App::CChap1_5App()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CChap1_5App?object
CChap1_5App?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CChap1_5App?initialization
BOOL?CChap1_5App::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.
//?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.
CMultiDocTemplate*?pDocTemplate;
pDocTemplate?=?new?CMultiDocTemplate(
IDR_CHAP1_TYPE
RUNTIME_CLASS(CChap1_5Doc)
RUNTIME_CLASS(CChildframe)?//?custom?MDI?child?frame
RUNTIME_CLASS(CChap1_5View));
AddDocTemplate(pDocTemplate);
//?create?main?MDI?frame?window
CMainframe*?pMainframe?=?new?CMainframe;
if?(!pMainframe->Loadframe(IDR_MAINframe))
return?FALSE;
m_pMainWnd?=?pMainframe;
//?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?main?window?has?been?initialized?so?show?and?update?it.
pMainframe->ShowWindow(SW_SHOWMAXIMIZED);
pMainframe->UpdateWindow();
return?TRUE;
}
//////////////////////////////////////////////////////////
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????29224??2013-05-08?18:13??middle\chap1_5.aps
?????文件???????2802??2013-05-08?18:50??middle\chap1_5.clw
?????文件???????4146??2007-09-21?07:01??middle\chap1_5.cpp
?????文件???????4842??2007-09-21?09:36??middle\chap1_5.dsp
?????文件????????539??2007-09-21?09:36??middle\chap1_5.dsw
?????文件???????1367??2007-09-21?07:01??middle\chap1_5.h
?????文件??????74752??2013-05-08?18:54??middle\chap1_5.ncb
?????文件??????51712??2013-05-08?18:54??middle\chap1_5.opt
?????文件????????248??2013-05-08?18:50??middle\chap1_5.plg
?????文件??????12092??2009-11-09?11:04??middle\chap1_5.rc
?????文件????????878??2009-11-09?11:26??middle\chap1_5.sln
????..A..H.?????31744??2013-05-08?18:24??middle\chap1_5.suo
?????文件???????9364??2009-11-09?11:26??middle\chap1_5.vcproj
?????文件???????1427??2009-11-09?11:27??middle\chap1_5.vcproj.WW-391E1C3E8799.ww.user
?????文件???????2172??2007-09-21?07:05??middle\chap1_5Doc.cpp
?????文件???????1744??2007-09-21?14:26??middle\chap1_5Doc.h
?????文件???????5064??2013-05-08?18:40??middle\chap1_5View.cpp
?????文件???????1771??2013-05-08?18:40??middle\chap1_5View.h
?????文件???????1534??2007-09-21?07:01??middle\ChildFrm.cpp
?????文件???????1397??2007-09-21?07:01??middle\ChildFrm.h
?????文件????5374976??2013-05-08?18:44??middle\Debug\chap1_5.bsc
?????文件?????135246??2013-05-08?18:50??middle\Debug\chap1_5.exe
?????文件?????368776??2013-05-08?18:50??middle\Debug\chap1_5.ilk
?????文件??????23998??2013-05-08?18:44??middle\Debug\chap1_5.obj
?????文件????6940280??2013-05-08?18:43??middle\Debug\chap1_5.pch
?????文件?????369664??2013-05-08?18:50??middle\Debug\chap1_5.pdb
?????文件???????7544??2013-05-08?18:25??middle\Debug\chap1_5.res
?????文件??????????0??2013-05-08?18:44??middle\Debug\chap1_5.sbr
?????文件??????18407??2013-05-08?18:44??middle\Debug\chap1_5Doc.obj
?????文件??????????0??2013-05-08?18:44??middle\Debug\chap1_5Doc.sbr
............此處省略35個文件信息
- 上一篇:struts2必備包+json包.rar
- 下一篇:com口各種驅(qū)動
評論
共有 條評論