摘要:
#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 阅读全文
摘要:
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 阅读全文
摘要:
#include#include#include#include#include#include#include #include #include"CSHOW.H"usingnamespaceboost;usingnamespacestd; voidPutDatas(intnData,floatfPrice){ while(true) { Sleep(1000); cout>wait;} 阅读全文