本人小白,才接触 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;
}