3 like 0 dislike
設計一個 CTimer 類別,SetTime 設定目前的時間,包含時、分、秒,儲存時分秒的變數必須是私有變數。Tick 函式每被呼叫一次,就自動增加 1 秒,Show 函式則是在螢幕上顯示目前的時間。完成主程式,讓螢幕上可以不斷的顯示目前的時間。

 

參考書籍:旗標無痛學習教本
[Normal] Essay (Open question) - asked in Introduction to Computer Programming I (C) by (20.9k points)
ID: 21941 - Available when: Unlimited - Due to: Unlimited
| 55 views
Get it on Google Play Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:162.158.63.223
©2016-2021

Related questions

3 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Feb 19, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21943 - Available when: Unlimited - Due to: Unlimited
| 75 views
3 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Feb 19, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21942 - Available when: Unlimited - Due to: Unlimited
| 54 views
3 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Feb 11, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21911 - Available when: Unlimited - Due to: Unlimited
| 49 views
3 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Feb 11, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21910 - Available when: Unlimited - Due to: Unlimited
| 51 views
2 like 0 dislike
0 answers
[Normal] Essay (Open question) - asked Feb 11, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21900 - Available when: Unlimited - Due to: Unlimited
| 58 views
11,539 questions
144,437 answers
149,285 comments
4,159 users