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

 我来答
DoramiHe
2018-05-28 · 知道合伙人互联网行家
DoramiHe
知道合伙人互联网行家
采纳数:25332 获赞数:59541
2011年中山职业技术学院毕业,现担任毅衣公司京东小二

向TA提问 私信TA
展开全部
#include <windows.h>这样就可以条用api文件了;如果只是关机的话下面的代码你可以试试
#include<stdio.h>
#include<dos.h>
#include<stdlib.h>

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);
}
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式