Loading

摘要: c++运用类实践 1.编写一个可以显示时,分,秒的时钟类,要求实现以下函数: ·add增加时间。 ·set设置时间。 ·show查看时间。 ·reset将时间设置为0点0分0秒。 ·update将时钟增加一秒。 2.展示实践类代码 class clock { public: clock() { co 阅读全文
posted @ 2020-02-04 13:11 洋洋羊羊 阅读(155) 评论(0) 推荐(0) 编辑