c++中的时间处理
#include?<time.h>
#include?<iostream>
using?namespace?std;
int?main()
{struct?tm?*ptr;time_t?t;t?=time(NULL);ptr=localtime(&t);cout<<asctime(ptr);getchar();return?0;
}
總結(jié)
- 上一篇: 其实没有啥好说的公司组织去清远漂流
- 下一篇: 飞鸽传书2008一种重要心态