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

  • 大小: 2.36MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-08-15
  • 語言: 其他
  • 標簽: vc2008??

資源簡介

拼圖小游戲,用 directX做的拼圖小游戲 vc2008

資源截圖

代碼片段和文件信息

//////////////////////////////////////////////////////////////////////////////////////////////////
//?
//?File:?hello.cpp
//?
//?Author:?Frank?Luna?(C)?All?Rights?Reserved
//
//?System:?AMD?Athlon?1800+?XP?512?DDR?Geforce?3?Windows?XP?MSVC++?7.0?
//
//?Desc:?Demonstrates?creating?a?Windows?application.
//??????????
//////////////////////////////////////////////////////////////////////////////////////////////////

//?Include?the?windows?header?file?this?has?all?the
//?Win32?API?structures?types?and?function?declarations
//?we?need?to?program?Windows.
#include?

//?The?main?window?handle.??This?is?used?to?identify
//?the?main?window?we?are?going?to?create.
HWND?MainWindowHandle?=?0;?

//?Wraps?the?code?necessary?to?initialize?a?windows
//?application.??Function?returns?true?if?initialization
//?was?successful?else?it?returns?false.
bool?InitWindowsApp(HINSTANCE?instanceHandle?int?show);?

//?Wraps?the?message?loop?code.
int??Run();???????????????
??????????
//?The?window?procedure?handles?events?our?window
//?receives.
LRESULT?CALLBACK?WndProc(HWND?hWnd
?UINT?msg
?WPARAM?wParam
?LPARAM?lParam);?

//?Windows?equivalant?to?main()
int?WINAPI?WinMain(HINSTANCE?hInstance??
???????HINSTANCE?hPrevInstance?
???????PSTR??????pCmdLine?
???????????int???????nShowCmd)
{
//?First?we?create?and?initialize?our?Windows?
//?application.??Notice?we?pass?the?application?
//?hInstance?and?the?nShowCmd?from?WinMain?as
//?parameters.
if(!InitWindowsApp(hInstance?nShowCmd))?
{
::MessageBox(0?“Init?-?Failed“?“Error“?MB_OK);
return?0;
}

//?Once?our?application?has?been?created?and?
//?initialized?we?enter?the?message?loop.??We
//?stay?in?the?message?loop?until?a?WM_QUIT
//?mesage?is?received?indicating?the?application
//?should?be?terminated.
return?Run();?//?enter?message?loop
}

bool?InitWindowsApp(HINSTANCE?instanceHandle?int?show)
{
//?The?first?task?to?creating?a?window?is?to?describe
//?its?characteristics?by?filling?out?a?WNDCLASS?
//?structure.
WNDCLASS?wc;?

wc.style?????????=?CS_HREDRAW?|?CS_VREDRAW;
wc.lpfnWndProc???=?WndProc;
wc.cbClsExtra????=?0;
wc.cbWndExtra????=?0;
wc.hInstance?????=?instanceHandle;
wc.hIcon?????????=?::LoadIcon(0?IDI_APPLICATION);
wc.hCursor???????=?::LoadCursor(0?IDC_ARROW);
wc.hbrBackground?=?
static_cast(::GetStockobject(WHITE_BRUSH));
wc.lpszMenuName??=?0;
wc.lpszClassName?=?“Hello“;

//?Then?we?register?this?window?class?description?
//?with?Windows?so?that?we?can?create?a?window?based
//?on?that?description.
if(!::RegisterClass(&wc))?
{
::MessageBox(0?“RegisterClass?-?Failed“?0?0);
return?false;
}

//?With?our?window?class?description?registered?we
//?can?create?a?window?with?the?CreateWindow?function.
//?Note?this?function?returns?a?HWND?to?the?created
//?window?which?we?save?in?MainWindowHandle.??Through
//?MainWindowHan

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

?????文件????????474??2010-04-14?10:19??main\7week-code\Block.h

????.......??????1538??2006-05-07?02:01??main\7week-code\image.txt

?????文件???????2756??2010-04-14?09:19??main\7week-code\main.cpp

?????文件?????196662??2010-04-14?09:39??main\7week-code\test.bmp

?????文件??????47616??2010-05-08?15:27??main\Debug\main.exe

?????文件?????475432??2010-05-08?15:27??main\Debug\main.ilk

?????文件?????543744??2010-05-08?15:27??main\Debug\main.pdb

?????文件???????5384??2003-03-09?13:10??main\hello.cpp

?????文件???????1748??2010-05-08?12:01??main\main\Block.h

?????文件???????1607??2010-05-08?15:10??main\main\CList.cpp

?????文件????????534??2010-05-08?15:10??main\main\CList.h

?????文件???????8910??2010-05-08?15:27??main\main\Debug\BuildLog.htm

?????文件??????12786??2010-05-08?15:10??main\main\Debug\CList.obj

?????文件????????663??2010-05-06?19:01??main\main\Debug\main.exe.embed.manifest

?????文件????????728??2010-05-06?19:01??main\main\Debug\main.exe.embed.manifest.res

?????文件????????621??2010-05-08?15:27??main\main\Debug\main.exe.intermediate.manifest

?????文件??????56206??2010-05-08?15:27??main\main\Debug\main.obj

?????文件?????????66??2010-05-08?15:27??main\main\Debug\mt.dep

?????文件?????478208??2010-05-08?15:27??main\main\Debug\vc90.idb

?????文件?????126976??2010-05-08?15:27??main\main\Debug\vc90.pdb

?????文件???????5384??2003-03-09?13:10??main\main\hello.cpp

????.......??????1538??2006-05-07?02:01??main\main\image.txt

?????文件??????10448??2010-05-08?15:27??main\main\main.cpp

?????文件???????4168??2010-05-08?14:34??main\main\main.vcproj

?????文件???????1421??2010-05-06?20:27??main\main\main.vcproj.AirStock.Qingbing.user

?????文件???????1415??2010-05-08?15:30??main\main\main.vcproj.K-AIR.QingBing.user

?????文件???????1417??2010-04-15?18:33??main\main\main.vcproj.STD-06.std-06.user

????.......??????5170??2010-04-15?18:14??main\main\Release\BuildLog.htm

?????文件??????19456??2010-04-15?18:14??main\main\Release\vc90.idb

?????文件??????45056??2010-04-15?18:14??main\main\Release\vc90.pdb

............此處省略14個文件信息

評論

共有 條評論