论坛: 编程破解 标题: 关于时间结构 复制本贴地址    
作者: cyshaoping [cyshaoping]    论坛用户   登录
#include "time.h"
#include "iostream.h"
main()
{
struct tm time[1];
int d=time[0].tm_mday;
cout<<d;
return 0;
}

运行上面这段程序,为什么得不到这确的日期呢?

地主 发表时间: 10/23 16:06

论坛: 编程破解

20CN网络安全小组版权所有
Copyright © 2000-2010 20CN Security Group. All Rights Reserved.
论坛程序编写:NetDemon

粤ICP备05087286号