首页 > TAG信息列表 > nSeconds
一个输出整形类型数值问题
include <stdlib.h> include<stdio.h> include <time.h> int main() { time_t nSeconds; char a[256]; time(&nSeconds); //char a='1'; //printf("%ld",nSeconds); sprintf(a,"%ld\n",nSeconds); printf(a); sprintf(a一个输出整形类型数值问题
include <stdlib.h> include<stdio.h> include <time.h> int main() { time_t nSeconds; char a[256]; time(&nSeconds); //char a='1'; //printf("%ld",nSeconds); sprintf(a,"%ld\n",nSeconds); printf(a); sprintf(a