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

  • 大小: 37KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2021-06-09
  • 語言: C/C++
  • 標簽:

資源簡介

操作系統課程設計——多線程同步演示程序,采用visual C++編寫

資源截圖

代碼片段和文件信息

//?multithread.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“multithread.h“
#include?“multithreadDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CMultithreadApp

BEGIN_MESSAGE_MAP(CMultithreadApp?CWinApp)
//{{AFX_MSG_MAP(CMultithreadApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CMultithreadApp?construction

CMultithreadApp::CMultithreadApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMultithreadApp?object

CMultithreadApp?theApp;


/////////////////////////////////////////////////////////////////////////////
//?CMultithreadApp?initialization

BOOL?CMultithreadApp::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.

#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif

CMultithreadDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK

}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel


}

//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
//CMultithreadDlg?dlg;
//---------------------------------------------------------------------------

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

?????文件??????23360??2007-07-12?11:08??multithread\multithread.aps

?????文件???????2482??2007-07-12?17:38??multithread\multithread.clw

?????文件???????2244??2004-05-03?17:25??multithread\multithread.cpp

?????文件???????4249??2004-04-10?23:09??multithread\multithread.dsp

?????文件????????547??2004-04-10?23:09??multithread\multithread.dsw

?????文件???????1379??2004-04-10?23:09??multithread\multithread.h

?????文件??????99328??2007-07-13?00:26??multithread\multithread.ncb

?????文件??????48640??2007-07-13?00:26??multithread\multithread.opt

?????文件???????1134??2006-03-30?20:52??multithread\multithread.plg

?????文件???????7865??2006-02-16?00:18??multithread\multithread.rc

?????文件??????12832??2006-03-30?20:51??multithread\multithreadDlg.cpp

?????文件???????2466??2006-03-30?20:51??multithread\multithreadDlg.h

?????文件???????3669??2004-04-10?23:09??multithread\ReadMe.txt

?????文件???????1078??2004-05-06?20:18??multithread\res\multithread.ico

?????文件????????403??2004-04-10?23:09??multithread\res\multithread.rc2

????..A.SH.??????3072??2005-04-19?21:52??multithread\res\Thumbs.db

?????文件???????1795??2004-05-21?10:55??multithread\Resource.h

?????文件????????213??2004-04-10?23:09??multithread\StdAfx.cpp

?????文件???????1054??2004-04-10?23:09??multithread\StdAfx.h

?????目錄??????????0??2009-07-06?15:14??multithread\res

?????目錄??????????0??2009-07-06?15:14??multithread

-----------?---------??----------?-----??----

???????????????217810????????????????????21


評論

共有 條評論

相關資源