资源简介
VC++ 写的数字时钟小程序,适合VC初学者学习用
代码片段和文件信息
// Clock.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “Clock.h“
#include “ClockDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CClockApp
BEGIN_MESSAGE_MAP(CClockApp CWinApp)
//{{AFX_MSG_MAP(CClockApp)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CClockApp construction
CClockApp::CClockApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CClockApp object
CClockApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CClockApp initialization
BOOL CClockApp::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
CClockDlg 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;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 23912 2011-09-27 14:46 Clock2\Clock.aps
文件 2941 2011-09-27 14:46 Clock2\Clock.clw
文件 2049 2008-10-04 16:03 Clock2\Clock.cpp
文件 4630 2008-10-10 09:12 Clock2\Clock.dsp
文件 533 2008-10-04 16:03 Clock2\Clock.dsw
文件 1309 2009-07-12 11:02 Clock2\Clock.h
文件 82944 2011-09-27 14:46 Clock2\Clock.ncb
文件 54784 2011-09-27 14:46 Clock2\Clock.opt
文件 1754 2011-09-14 22:13 Clock2\Clock.plg
文件 550 2008-10-10 09:12 Clock2\Clock.positions
文件 7544 2009-07-12 11:02 Clock2\Clock.rc
文件 7321 2009-07-12 11:03 Clock2\ClockDlg.cpp
文件 1522 2009-07-12 11:02 Clock2\ClockDlg.h
文件 928 2009-07-12 11:02 Clock2\downcode.com.txt
文件 1424 2008-10-04 17:38 Clock2\MyColor.cpp
文件 623 2009-07-12 11:03 Clock2\MyColor.h
文件 3561 2008-10-04 16:03 Clock2\ReadMe.txt
文件 1078 2008-10-04 16:03 Clock2\res\Clock.ico
文件 397 2008-10-04 16:03 Clock2\res\Clock.rc2
文件 928 2009-07-12 11:02 Clock2\res\downcode.com.txt
文件 3689 2008-10-09 22:38 Clock2\resource.fd
文件 2845 2008-10-09 22:38 Clock2\Resource.h
文件 207 2008-10-04 16:03 Clock2\StdAfx.cpp
文件 1054 2008-10-04 16:03 Clock2\StdAfx.h
目录 0 2011-09-27 14:47 Clock2\Debug
目录 0 2011-09-14 22:29 Clock2\res
目录 0 2011-09-27 14:46 Clock2
----------- --------- ---------- ----- ----
208527 27
............此处省略0个文件信息
- 上一篇:C++跑酷游戏
- 下一篇:FTP客户端程序,c语言编写
相关资源
- VC++ 多线程文件读写操作
- 移木块游戏,可以自编自玩,vc6.0编写
- MFC数字钟(基于VC6.0)
- 安科瑞智能电能表MODBUS通讯程序 VC6
- 电子时钟 有C语言程序,PROTEUS仿真图
- VC++MFC小游戏实例教程(实例)+MFC类库
- VC6LineNumberAddin.dll
- 用VC6.0实现多边形扫描线填充算法
- VC++实现CMD命令执行与获得返回信息
- VC助手 VC6.0助手
- Proteus仿真:基于定时器的可调时钟
- Proteus仿真:DS1302(时钟or日历).rar
- VC++基于OpenGL模拟的一个3维空间模型
- 基于VC++的SolidWorks二次开发SolidWorks
- VC6 USB开发源码
- VC操作SQLSERVER数据库
- aes加解密(vc源程序)
- vc_串口通讯
- 吕鑫vc6c++数据结构视频源码
- 派克变换VC++源码(附文档)
- 基于opencv漫水填充算法综合
- VC++ 串口
- VC++ 大富翁4_大富翁游戏源码
- MFC的异步网络通讯应用程序
- VC++ 摄像头视频采集与回放源程序
- 转 VC++ 实现电子邮件(Email)发送
- 基于MFC的VC++仿QQ浏览器源码(雏形)
- VC++ 服务程序编写及安装与卸载
- VC++6.0番茄西红柿VAXvirsual assist X完美破
- VC编程助手2010破解版(原名VA_X_10.6.
川公网安备 51152502000135号
评论
共有 条评论