当前位置:网站首页>Shutdown procedure after 60
Shutdown procedure after 60
2022-07-02 04:10:00 【Beta flying a plane】
Please enter “ I am a pig ” Cancel shutdown , otherwise 60 Turn off automatically in seconds .
#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main()
{
char input[20] = {
0 };
system("shutdown - s - t 60"); //60s Power off after
again:
printf(" Please enter that I am a pig , Otherwise shut down \n->");
scanf("%s", input);
if (strcmp(input, " I am a pig ") == 0)
system("shutdown - a"); // Cancel shutdown
else
goto again;
return 0;
}
边栏推荐
- Okcc why is cloud call center better than traditional call center?
- 藍湖的安裝及使用
- Monkey测试
- Which product of anti-cancer insurance is better?
- LCM of Spreadtrum platform rotates 180 °
- Feature Engineering: summary of common feature transformation methods
- The original author is out! Faker. JS has been controlled by the community..
- Vite: scaffold assembly
- Wpviewpdf Delphi and Net PDF viewing component
- [live broadcast review] the first 8 live broadcasts of battle code Pioneer have come to a perfect end. Please look forward to the next one!
猜你喜欢

Which is better, industrial intelligent gateway or edge computing gateway? How to choose the right one?

The first game of the 11th provincial single chip microcomputer competition of the Blue Bridge Cup

BiShe cinema ticket purchasing system based on SSM

整理了一份ECS夏日省钱秘籍,这次@老用户快来领走

Hands on deep learning (II) -- multi layer perceptron

Spring recruitment of Internet enterprises: Kwai meituan has expanded the most, and the annual salary of technical posts is up to nearly 400000

The confusion I encountered when learning stm32

66.qt quick QML Custom Calendar component (supports vertical and horizontal screens)

【人员密度检测】基于形态学处理和GRNN网络的人员密度检测matlab仿真

PIP installation of third-party libraries
随机推荐
Is the product of cancer prevention medical insurance safe?
PR zero foundation introductory guide note 2
Monkey测试
Suggestions on settlement solution of u standard contract position explosion
文档声明与字符编码
Dare to go out for an interview without learning some distributed technology?
Cloud service selection of enterprises: comparative analysis of SaaS, PAAS and IAAs
Installation et utilisation du lac bleu
C language: examples of logical operation and judgment selection structure
[live broadcast review] the first 8 live broadcasts of battle code Pioneer have come to a perfect end. Please look forward to the next one!
Pytorch---使用Pytorch实现U-Net进行语义分割
What is 5g industrial wireless gateway? What functions can 5g industrial wireless gateway achieve?
[Li Kou brush questions] 15 Sum of three numbers (double pointer); 17. Letter combination of phone number (recursive backtracking)
uni-app - 实现获取手机验证码倒计时 60 秒(手机号+验证码登录功能)
[personal notes] PHP common functions - custom functions
JVM knowledge points
【无线图传】基于FPGA的简易无线图像传输系统verilog开发,matlab辅助验证
LCM of Spreadtrum platform rotates 180 °
Play with concurrency: what's the use of interruptedexception?
Vite: configure IP access