摘要:        
错误发生在这几句部分:struct tm *ltime;char timestr[16];ltime=localtime(&header->ts.tv_sec);错误提示为:error C2664: “localtime”: 不能将参数 1 从“const long *__w64 ”转换为“const time_t *”分析:VC6.0里,time_t的定义是:typedef long time_t;其实也就是long,所以可以通用。但在VS2005中,不一样了:如何没有定义_USE_32BIT_TIME_T时typedef __time64_t time_t;typedef _    阅读全文
        
            posted @ 2011-07-04 22:30
子坞
阅读(4141)
评论(1)
推荐(0)
        
     
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号