如何知道控件在屏幕上的位置

2025-04-03 03:54:58
推荐回答(1个)
回答(1):

#include 这样就可以条用api文件了;如果只是关机的话下面的代码你可以试试
#include
#include
#include

void main()
{
char shut[8];
char b[81];
printf("Hello, Welcome to the TC automatic shutdown procedures\n");
printf(" Watermelon production\n");
printf("Please enter your desired automatic shutdown of time:");
scanf("%s",shut);
sprintf(b,"at %s shutdown -s",shut);
system(b);
}