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

  • 大小: 2.13MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-11-07
  • 語言: C/C++
  • 標簽: vc??

資源簡介

這是一個聊天室程序,是vc課程設計中的經典案例!我的課程設計作品。

資源截圖

代碼片段和文件信息

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

#include?“stdafx.h“
#include?“chat.h“
#include?“chatDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CChatApp

BEGIN_MESSAGE_MAP(CChatApp?CWinApp)
//{{AFX_MSG_MAP(CChatApp)
//?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()

/////////////////////////////////////////////////////////////////////////////
//?CChatApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CChatApp?object

CChatApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CChatApp?initialization

BOOL?CChatApp::InitInstance()
{
if?(!AfxSocketInit())
{
AfxMessageBox(IDP_SOCKETS_INIT_FAILED);
return?FALSE;
}

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

CChatDlg?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;
}

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

?????文件?????114776??2008-03-10?08:15??喬秀明060420122\exe文件\chat.exe

?????文件?????110693??2008-03-12?19:57??喬秀明060420122\exe文件\chatserver.exe

?????文件??????22144??2008-03-13?09:56??喬秀明060420122\源程序\客戶端\chat.aps

?????文件???????1732??2008-03-16?10:10??喬秀明060420122\源程序\客戶端\chat.clw

?????文件???????2129??2005-05-10?10:15??喬秀明060420122\源程序\客戶端\chat.cpp

?????文件???????4246??2007-08-20?15:21??喬秀明060420122\源程序\客戶端\chat.dsp

?????文件????????533??2005-05-10?12:02??喬秀明060420122\源程序\客戶端\chat.dsw

?????文件???????1302??2005-05-10?10:13??喬秀明060420122\源程序\客戶端\chat.h

?????文件?????148480??2008-03-16?10:17??喬秀明060420122\源程序\客戶端\chat.ncb

?????文件??????51712??2008-03-16?10:17??喬秀明060420122\源程序\客戶端\chat.opt

?????文件???????1186??2008-03-10?08:15??喬秀明060420122\源程序\客戶端\chat.plg

?????文件???????6733??2008-03-07?18:13??喬秀明060420122\源程序\客戶端\chat.rc

?????文件???????7506??2008-03-10?08:14??喬秀明060420122\源程序\客戶端\chatDlg.cpp

?????文件???????1802??2008-03-07?12:32??喬秀明060420122\源程序\客戶端\chatDlg.h

?????文件?????114776??2008-03-10?08:15??喬秀明060420122\源程序\客戶端\Debug\chat.exe

?????文件??????15465??2008-03-10?08:06??喬秀明060420122\源程序\客戶端\Debug\chat.obj

?????文件?????418816??2008-03-10?08:15??喬秀明060420122\源程序\客戶端\Debug\chat.pdb

?????文件???????3056??2008-03-07?18:43??喬秀明060420122\源程序\客戶端\Debug\chat.res

?????文件??????????0??2008-03-10?08:06??喬秀明060420122\源程序\客戶端\Debug\chat.sbr

?????文件??????44456??2008-03-10?08:15??喬秀明060420122\源程序\客戶端\Debug\chatDlg.obj

?????文件??????????0??2008-03-10?08:15??喬秀明060420122\源程序\客戶端\Debug\chatDlg.sbr

?????文件??????14592??2008-03-10?08:06??喬秀明060420122\源程序\客戶端\Debug\login.obj

?????文件??????????0??2008-03-10?08:06??喬秀明060420122\源程序\客戶端\Debug\login.sbr

?????文件?????106827??2008-03-10?08:06??喬秀明060420122\源程序\客戶端\Debug\StdAfx.obj

?????文件????1391570??2008-03-10?08:06??喬秀明060420122\源程序\客戶端\Debug\StdAfx.sbr

?????文件?????372736??2008-03-10?08:15??喬秀明060420122\源程序\客戶端\Debug\vc60.pdb

?????文件???????1416??2008-03-07?18:33??喬秀明060420122\源程序\客戶端\login.cpp

?????文件???????1146??2005-05-10?11:42??喬秀明060420122\源程序\客戶端\login.h

?????文件???????1078??2008-03-07?18:11??喬秀明060420122\源程序\客戶端\res\chat.ico

?????文件????????396??2005-05-10?10:13??喬秀明060420122\源程序\客戶端\res\chat.rc2

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

評論

共有 條評論