码迷,mamicode.com
首页 >  
搜索关键字:minute    ( 420个结果
第八周项目二-Time类中的运算符重载
实现Time类中的运算符重载 class CTime { private: unsigned short int hour; // 时 unsigned short int minute; // 分 unsigned short int second; // 秒 public: CTime(int h=0,int m=0,int s=0);...
分类:其他好文   时间:2015-05-13 10:25:15    阅读次数:124
php 时间戳函数
1.mktime mktime ($hour = null, $minute = null, $second = null, $month = null, $day = null, $year = null, $is_dst = null) 小时,分钟,秒数,月,日,年   mktime('17','23','35'); 2.strtotime strtotime(time,now) ...
分类:Web程序   时间:2015-05-11 09:09:08    阅读次数:127
时间类
一、题目简介1、表示时间的数据域hour、minute和second:privateinthour;privateintminute;privateintsecond;2、一个构造带特定的小时、分钟和秒的Time对象的构造方法publicTime(inthour,intminute,intsecon...
分类:其他好文   时间:2015-05-09 20:24:11    阅读次数:169
第八周项目 二 【项目2-Time类中的运算符重载】
【项目2-Time类中的运算符重载】 实现Time类中的运算符重载。 [cpp] view plaincopyprint? class CTime   {   private:       unsigned short int hour;    // 时       unsigned short int minute;  // 分      ...
分类:其他好文   时间:2015-05-07 22:11:48    阅读次数:162
计算天-时-分
SELECTa.consume_codeconsumeCode,s.trans_codetransCode,t.company_namecompanynName,a.wlb_codewlbCode,a.user_nameuserName,a.consigneeconSignee,a.cons_cityconsCity,FLOOR(HOUR(TIMEDIFF(NOW(),a.order_date))/24)ex_order_day,MOD(HOUR(TIMEDIFF(NOW(),a.order_date)),2..
分类:其他好文   时间:2015-05-07 01:14:56    阅读次数:122
poj2251 Dungeon Master
Description You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. It takes one minute to move one un...
分类:其他好文   时间:2015-05-04 08:42:25    阅读次数:130
第八周-运算符重载-Time类中的运算符重载
代码如下: #include using namespace std; class CTime { private: unsigned short int hour; //时 unsigned short int minute; //分 unsigned short int second; //秒 public: ...
分类:其他好文   时间:2015-04-25 10:47:23    阅读次数:155
POJ 2251 Dungeon Master
Description You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. It takes one minute to move one ...
分类:其他好文   时间:2015-04-24 09:10:02    阅读次数:152
【c++程序】时钟程序
#include using namespace std; #include struct Time{ int hour; int minute; int second; }; void set(Time *p,int h,int m,int s) { p->hour=h; p->minute=m; p->second=s; } void tick(Time *p) { long t...
分类:编程语言   时间:2015-04-22 11:48:21    阅读次数:190
第六周项目四-成员函数、友元函数和一般函数的区别
(1)阅读下面的程序,体会注释中的说明。 //例:使用成员函数、友元函数和一般函数的区别 #include using namespace std; class Time { public: Time(int h,int m,int s):hour(h),minute(m),sec(s) {} void display1(); //display1是成员函数...
分类:其他好文   时间:2015-04-22 09:35:02    阅读次数:118
420条   上一页 1 ... 30 31 32 33 34 ... 42 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!