[求助]小弟C语言的小白,编的程序出了问题,求大侠解答
#include<stdio.h>#include<windows.h>
void A()
{ if(time.wHour==16);
if(time.wMinute==15);
if(time.wSecond==0);
printf("************\n");
}
int main()
{
SYSTEMTIME time;
SYSTEMTIME clock;
GetLocalTime(&time);
printf("学习C语言\n");
printf("当前时间为:%2d:%2d:%2d\n",time.wHour,time.wMinute,time.wSecond);
return 0;
}