资源简介

本代码是编写针对DAYTIME服务的UDP客户机和服务器的实现。要求显示DAYTIME返回的日期和时间值。

资源截图

代码片段和文件信息

// ConDlg.cpp : implementation file
//

#include “stdafx.h“
#include “daytime.h“
#include “ConDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
// CConDlg dialog


CConDlg::CConDlg(CWnd* pParent /*=NULL*/)
: CDialog(CConDlg::IDD pParent)
{
//{{AFX_DATA_INIT(CConDlg)
m_HostAddress = _T(““);
//}}AFX_DATA_INIT
}


void CConDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CConDlg)
DDX_Text(pDX IDC_EDIT1 m_HostAddress);
//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CConDlg CDialog)
//{{AFX_MSG_MAP(CConDlg)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       2735  1999-08-02 20:38  daytime\daytime.clw

     文件       4335  1999-08-02 19:55  daytime\ReadMe.txt

     文件        537  1999-08-02 19:55  daytime\daytime.dsw

     文件       1367  1999-08-02 19:55  daytime\daytime.h

     文件       4280  1999-08-02 20:16  daytime\daytime.cpp

     文件       1074  1999-08-02 19:57  daytime\StdAfx.h

     文件        209  1999-08-02 19:55  daytime\StdAfx.cpp

     文件       1581  1999-08-02 19:55  daytime\MainFrm.h

     文件       2508  1999-08-02 19:55  daytime\MainFrm.cpp

     文件       1648  1999-08-02 20:19  daytime\daytimeDoc.h

     文件       3614  1999-08-02 20:30  daytime\daytimeDoc.cpp

     文件       1794  1999-08-02 20:11  daytime\daytimeView.h

     文件       3584  1999-08-02 20:34  daytime\daytimeView.cpp

     文件        685  1999-08-02 20:13  daytime\resource.h

     文件      12215  1999-08-02 20:13  daytime\daytime.rc

     文件      66560  1999-08-26 11:43  daytime\daytime.ncb

     文件       4783  1999-08-02 20:30  daytime\daytime.dsp

     文件      49664  1999-08-26 11:43  daytime\daytime.opt

     文件       1189  1999-08-02 20:08  daytime\ConDlg.h

     文件        931  1999-08-02 20:38  daytime\ConDlg.cpp

     文件       1105  1999-08-26 11:43  daytime\daytime.plg

     文件      22278  1999-08-26 11:40  daytime\RCa63389

     文件        399  1999-08-02 19:55  daytime\res\daytime.rc2

     文件       1078  1999-08-02 19:55  daytime\res\daytimeDoc.ico

     文件       1078  1999-08-02 19:55  daytime\res\daytime.ico

     文件       1078  1999-08-02 19:55  daytime\res\Toolbar.bmp

     目录          0  2005-03-18 10:51  daytime\res

     目录          0  2005-03-18 10:51  daytime

     文件        218  2007-01-22 19:53  www.pudn.com.txt

----------- ---------  ---------- -----  ----

............此处省略2个文件信息

评论

共有 条评论