摘要: 在c++的chrono中没有找到相应的实现,只好从boost里面找了,代码如下:#include// Get current time from the clock, using microseconds resolutionconst boost::posix_time::ptime now = boost::posix_time::microsec_clock::local_time();// Get the time offset in current dayconst boost::posix_time::time_duration td = now.time_of_day();fra 阅读全文
posted @ 2014-02-22 09:11 Run.L 阅读(5819) 评论(0) 推荐(0)