当前位置: 技术问答>linux和unix
"assignment makes pointer from integer without a cast"
来源: 互联网 发布时间:2016-12-20
本文导语: #include #include main() { time_t timep; struct tm *p; time(&timep); printf("time():%ld n",timep); p = localtime(&timep); timep = mktime(p); printf("time()->localtime()->mktime():%ldn",timep); } "assignment makes pointer from integer without a cast" 求助解决这个问...
#include
#include
main()
{
time_t timep;
struct tm *p;
time(&timep);
printf("time():%ld n",timep);
p = localtime(&timep);
timep = mktime(p);
printf("time()->localtime()->mktime():%ldn",timep);
}
"assignment makes pointer from integer without a cast"
求助解决这个问题,在线等待。谢谢了
|
结贴吧
|
#include