摘要:
#include namespace my_timer{class timer{public:timer(){ _start_time = std::clock();};void restrart(){_start_time = std::clock();};double elapsed() const{return double(std::clock() - _start_time) / CLOCKS_PER_SEC; }double elapsed_max() const {}double elapsed_min() const{return double(1)/double(CLOCKS 阅读全文
posted @ 2013-06-28 21:23
Predator
阅读(410)
评论(0)
推荐(0)
摘要:
timer tm;date dtStartDate = from_undelimited_string("20080116"); date dtEndDate = from_undelimited_string("20130120"); date tem ;int count = 0;int gap = 0;if (dtStartDate > dtEndDate) {return ;}if (dtStartDate.day_of_week() == 0){tem = dtStartDate;}else{gap = dtStartDate.day_o 阅读全文
posted @ 2013-06-28 21:21
Predator
阅读(580)
评论(0)
推荐(0)
摘要:
#include#include#include#include#include#include#include #include #include"CSHOW.H"usingnamespaceboost;usingnamespacestd; voidPutDatas(intnData,floatfPrice){ while(true) { Sleep(1000); cout>wait;} 阅读全文
posted @ 2013-06-28 21:20
Predator
阅读(184)
评论(0)
推荐(0)

浙公网安备 33010602011771号