用户:CodeStar_查看:6 回复:4 评论:6 创建时间:2021-04-28T20:19:17
//【例1-12】 利用system库函数实现关机。 #include <stdio.h> #include <stdlib.h> int main(void) { printf("5秒后关闭当前计算机!\n"); system("shutdown -s -t 5 -f"); return 0; }
视屏链接:
https://shequ.codemao.cn/work/96781859?entry
学到了学到了
点赞2
评论
...去试一下
点赞1
我们学过吗?
点赞0
C++行吗