33,311
社区成员
发帖
与我相关
我的任务
分享
#include <time.h>
#include <stdio.h>
#include<stdlib.h>
#include<iostream.h>
void main( void )
{
// system("time");
time_t ltime;
time( <ime );
printf("\n");
printf( "The time is %s\n", ctime( <ime ) );
char* a,* b;
a=__DATE__;
b=__TIME__;
cout<<a<<endl;
cout<<b<<endl;
}两个时间怎么不一样啊?