symons

___________每一天都是幸福的!!

  博客园  ::  :: 新随笔  ::  :: 订阅 订阅  :: 管理

2013年12月18日

摘要: a 阅读全文
posted @ 2013-12-18 20:30 symons 阅读(133) 评论(0) 推荐(0)

摘要: #include #include #include #include #include #include int main(){ int fd; struct tm *now; char haha[50]; time_t res; int cnt; fd=open("d:/log_info.txt",O_WRONLY|O_APPEND|O_CREAT); res=time(NULL); now=localtime(&res); printf("start time is: %s\n",asctime(now)); strcpy(ha... 阅读全文
posted @ 2013-12-18 19:52 symons 阅读(160) 评论(0) 推荐(0)