开发者

Is there a cross-platform header in the standard library that provides access to the current time?

Probably a stupid question, but I couldn't find anything searching...

Is there a standard header that allows me to fetch the current time? Otherwise is there so开发者_JAVA技巧me cross-platform alternative?


What's wrong with <ctime> ?! It's standard, even MSDN admits:


time.h, and the time function.


use boost date_time. http://www.boost.org/doc/libs/1_40_0/doc/html/date_time/posix_time.html.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜