本文共 263 字,大约阅读时间需要 1 分钟。
1 2 3 4 5 6 7 8 9 | #include<cstdio> #include<ctime> int main( void ) { time_t t; t= time (&t); printf ( "Today'sdateandtime:%s\n" , ctime (&t)); return 0; } |
转载地址:http://ezexi.baihongyu.com/