用C++编写的一个桌面时钟

上传者: kdtmac | 上传时间: 2021-07-06 16:41:00 | 文件大小: 30.51MB | 文件类型: ZIP
时钟大致可由时钟背景、时针、分针、秒针四个部分构成。时钟四个部分可是看作四个不同的对象,可以建立类CClockBackground(背景)CClockHourHand(时针)、CClockMinHand(分针)、CClockSecHand(秒针)来分别实现。这四个类有它们的共同点,都有自己的绘图函数,如果要具体能够设置颜色,它们都应该有自己的绘图颜色,同样应该有颜色设置函数,此外都有绘图区域和区域设置函数等等。

文件下载

资源详情

[{"title":"( 88 个子文件 30.51MB ) 用C++编写的一个桌面时钟","children":[{"title":"桌面时钟","children":[{"title":"deskClock","children":[{"title":"ScaleSetDlg.h <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"NumTimeSetDlg.cpp <span style='color:#111;'> 4.56KB </span>","children":null,"spread":false},{"title":"ClockScale.h <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 4.08KB </span>","children":null,"spread":false},{"title":"deskClock.plg <span style='color:#111;'> 8.09KB </span>","children":null,"spread":false},{"title":"deskClockDlg.cpp <span style='color:#111;'> 17.82KB </span>","children":null,"spread":false},{"title":"deskClock.dsp <span style='color:#111;'> 5.95KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"DateSetDlg.obj <span style='color:#111;'> 38.99KB </span>","children":null,"spread":false},{"title":"deskClock.ilk <span style='color:#111;'> 1.42MB </span>","children":null,"spread":false},{"title":"deskClock.log <span style='color:#111;'> 10.76KB </span>","children":null,"spread":false},{"title":"deskClock.tlog","children":[{"title":"cl.command.1.tlog <span style='color:#111;'> 11.47KB </span>","children":null,"spread":false},{"title":"rc.command.1.tlog <span style='color:#111;'> 622B </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 50.09KB </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 8.58KB </span>","children":null,"spread":false},{"title":"rc.read.1.tlog <span style='color:#111;'> 2.92KB </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 2.39KB </span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'> 7.52KB </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 3.44KB </span>","children":null,"spread":false},{"title":"deskClock.lastbuildstate <span style='color:#111;'> 218B </span>","children":null,"spread":false},{"title":"rc.write.1.tlog <span style='color:#111;'> 246B </span>","children":null,"spread":false}],"spread":true},{"title":"deskClockDlg.obj <span style='color:#111;'> 121.57KB </span>","children":null,"spread":false},{"title":"deskClock.res <span style='color:#111;'> 20.44KB </span>","children":null,"spread":false},{"title":"BackSetDlg.obj <span style='color:#111;'> 42.41KB </span>","children":null,"spread":false},{"title":"deskClock.obj <span style='color:#111;'> 29.20KB </span>","children":null,"spread":false},{"title":"vc120.pdb <span style='color:#111;'> 3.81MB </span>","children":null,"spread":false},{"title":"deskClock.exe <span style='color:#111;'> 195.50KB </span>","children":null,"spread":false},{"title":"HandSetDlg.obj <span style='color:#111;'> 36.01KB </span>","children":null,"spread":false},{"title":"AlarmSetDlg.obj <span style='color:#111;'> 53.42KB </span>","children":null,"spread":false},{"title":"StdAfx.obj <span style='color:#111;'> 802.28KB </span>","children":null,"spread":false},{"title":"deskClock.pch <span style='color:#111;'> 26.31MB </span>","children":null,"spread":false},{"title":"ClockDate.obj <span style='color:#111;'> 46.78KB </span>","children":null,"spread":false},{"title":"ClockScale.obj <span style='color:#111;'> 26.36KB </span>","children":null,"spread":false},{"title":"NumTimeSetDlg.obj <span style='color:#111;'> 38.97KB </span>","children":null,"spread":false},{"title":"ClockHand.obj <span style='color:#111;'> 36.58KB </span>","children":null,"spread":false},{"title":"deskClock.pdb <span style='color:#111;'> 5.08MB </span>","children":null,"spread":false},{"title":"vc120.idb <span style='color:#111;'> 1.49MB </span>","children":null,"spread":false},{"title":"BeepSetDlg.obj <span style='color:#111;'> 30.48KB </span>","children":null,"spread":false},{"title":"ScaleSetDlg.obj <span style='color:#111;'> 28.64KB </span>","children":null,"spread":false},{"title":"ClockNum.obj <span style='color:#111;'> 38.89KB </span>","children":null,"spread":false},{"title":"SystemTimeSetDlg.obj <span style='color:#111;'> 48.57KB </span>","children":null,"spread":false}],"spread":false},{"title":"ClockNum.h <span style='color:#111;'> 747B </span>","children":null,"spread":false},{"title":"deskClock.sln <span style='color:#111;'> 963B </span>","children":null,"spread":false},{"title":"ClockHand.h <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"deskClock.h <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"背景.bmp <span style='color:#111;'> 6.33KB </span>","children":null,"spread":false},{"title":"Backup","children":null,"spread":false},{"title":"ClockDate.cpp <span style='color:#111;'> 3.58KB </span>","children":null,"spread":false},{"title":"deskClock.ncb <span style='color:#111;'> 209.00KB </span>","children":null,"spread":false},{"title":"HandSetDlg.cpp <span style='color:#111;'> 3.24KB </span>","children":null,"spread":false},{"title":"log.bmp <span style='color:#111;'> 6.33KB </span>","children":null,"spread":false},{"title":"AlarmSetDlg.h <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"deskClock.vcxproj.filters <span style='color:#111;'> 4.56KB </span>","children":null,"spread":false},{"title":"deskClock.opt <span style='color:#111;'> 60.50KB </span>","children":null,"spread":false},{"title":"deskClock.v12.suo <span style='color:#111;'> 10.50KB </span>","children":null,"spread":false},{"title":"DateSetDlg.h <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"deskClock.cpp <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 3.55KB </span>","children":null,"spread":false},{"title":"deskClock.rc <span style='color:#111;'> 16.62KB </span>","children":null,"spread":false},{"title":"BackSetDlg.h <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"deskClock.vcxproj <span style='color:#111;'> 8.93KB </span>","children":null,"spread":false},{"title":"NumTimeSetDlg.h <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"bitmap2.bmp <span style='color:#111;'> 59.45KB </span>","children":null,"spread":false},{"title":"背景.bmp <span style='color:#111;'> 6.33KB </span>","children":null,"spread":false},{"title":"u=698391243,1291431429&fm=3&gp=0副本.bmp <span style='color:#111;'> 6.33KB </span>","children":null,"spread":false},{"title":"da98262e7cb2487c4ec22665副本.bmp <span style='color:#111;'> 59.45KB </span>","children":null,"spread":false},{"title":"deskClock.rc2 <span style='color:#111;'> 401B </span>","children":null,"spread":false},{"title":"Windows XP 关机.wav <span style='color:#111;'> 275.98KB </span>","children":null,"spread":false},{"title":"deskClock.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":false},{"title":"UpgradeLog.htm <span style='color:#111;'> 29.64KB </span>","children":null,"spread":false},{"title":"ClockNum.cpp <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false},{"title":"deskClockDlg.h <span style='color:#111;'> 3.01KB </span>","children":null,"spread":false},{"title":"deskClock.clw <span style='color:#111;'> 8.15KB </span>","children":null,"spread":false},{"title":"DateSetDlg.cpp <span style='color:#111;'> 4.37KB </span>","children":null,"spread":false},{"title":"deskClock.aps <span style='color:#111;'> 43.22KB </span>","children":null,"spread":false},{"title":"SystemTimeSetDlg.h <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'> 211B </span>","children":null,"spread":false},{"title":"AlarmSetDlg.cpp <span style='color:#111;'> 3.41KB </span>","children":null,"spread":false},{"title":"BackSetDlg.cpp <span style='color:#111;'> 3.05KB </span>","children":null,"spread":false},{"title":"ScaleSetDlg.cpp <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"HandSetDlg.h <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"SystemTimeSetDlg.cpp <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"ClockScale.cpp <span style='color:#111;'> 5.05KB </span>","children":null,"spread":false},{"title":"BeepSetDlg.h <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"ClockDate.h <span style='color:#111;'> 822B </span>","children":null,"spread":false},{"title":"ClockHand.cpp <span style='color:#111;'> 3.30KB </span>","children":null,"spread":false},{"title":"BeepSetDlg.cpp <span style='color:#111;'> 4.91KB </span>","children":null,"spread":false},{"title":"deskClock.dsw <span style='color:#111;'> 541B </span>","children":null,"spread":false},{"title":"deskClock.sdf <span style='color:#111;'> 68.25MB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • mhy12138 :
    感谢感谢,非常有帮助
    2018-06-25
  • zhaohpo :
    挺好的学习资源,谢谢提供
    2018-04-28
  • szzy632 :
    学习资源,谢谢提供
    2017-01-29

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明