个人作业
来源:互联网 发布:淘宝美工兼职怎么收费 编辑:程序博客网 时间:2024/06/01 09:57
#include<iostream>
using namespace std;
class Time
{
public:
void sltime()
{
cin>>hour ;
cin>>minute ;
cin>>sec ;
}
void sctime()
{
cout<<hour <<":"<<minute <<":"<<sec <<endl;
}
private:
int hour;
int minute;
int sec;
};
int main()
{
Time t;
t.sltime() ;
t.sctime();
return 0;
}
0 0
- 个人作业
- 个人作业
- 个人作业
- 个人作业
- 个人作业
- 个人作业
- 个人作业
- 个人作业
- 个人作业
- 个人作业
- 个人作业
- 个人作业
- 个人作业
- 个人作业
- 个人作业
- 个人作业
- 个人作业
- 个人作业
- hdu 5208 Where is Bob(数位dp)
- 代码模板和编码的设置
- 【ASP.NET】——视频小结
- C#调用C++类
- 关于多线程的总结
- 个人作业
- In-circles Again(简单几何)
- HDU1050 Moving Tables 【模拟】
- VS集成Qt环境搭建
- ubuntu新建用户
- 有两个空酒桶,分别能舀3斤和7斤酒,还有1个装满了10斤的酒桶,我要卖5斤酒给剑客,这该如何是好?
- 我的ubuntu权限颜色
- iso 框架
- applicationContext.xml 配置说明