当前位置:网站首页>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;
}
边栏推荐
- 66.qt quick QML Custom Calendar component (supports vertical and horizontal screens)
- Installation and use of blue lake
- Wechat applet - realize the countdown of 60 seconds to obtain the mobile verification code (mobile number + verification code login function)
- How to model noise data? Hong Kong Baptist University's latest review paper on "label noise representation learning" comprehensively expounds the data, objective function and optimization strategy of
- [tips] use Matlab GUI to read files in dialog mode
- 微信小程序 - 实现获取手机验证码倒计时 60 秒(手机号+验证码登录功能)
- 【力扣刷题】15.三数之和(双指针);17.电话号码的字母组合(递归回溯)
- Cloud service selection of enterprises: comparative analysis of SaaS, PAAS and IAAs
- cookie、session、tooken
- Demonstration description of integrated base scheme
猜你喜欢
Spring recruitment of Internet enterprises: Kwai meituan has expanded the most, and the annual salary of technical posts is up to nearly 400000
go 包的使用
C language: examples of logical operation and judgment selection structure
【c语言】基础篇学习笔记
Dare to go out for an interview without learning some distributed technology?
[ibdfe] matlab simulation of frequency domain equalization based on ibdfe
2022-07-01:某公司年会上,大家要玩一食发奖金游戏,一共有n个员工, 每个员工都有建设积分和捣乱积分, 他们需要排成一队,在队伍最前面的一定是老板,老板也有建设积分和捣乱积分, 排好队后,所有
Play with concurrency: what's the use of interruptedexception?
Suggestions on settlement solution of u standard contract position explosion
整理了一份ECS夏日省钱秘籍,这次@老用户快来领走
随机推荐
go 分支与循环
如何解决在editor模式下 无法删除物体的问题
L'avènement de l'ère 5G, une brève discussion sur la vie passée et présente des communications mobiles
微信小程序 - 实现获取手机验证码倒计时 60 秒(手机号+验证码登录功能)
Vite: configure IP access
[JS event -- event flow]
Yyds dry inventory compiler and compiler tools
Spring recruitment of Internet enterprises: Kwai meituan has expanded the most, and the annual salary of technical posts is up to nearly 400000
Use of go package
Go variables and constants
Homework in Chapter 3 of slam course of dark blue vision -- derivative application of T6 common functions
Www 2022 | rethinking the knowledge map completion of graph convolution network
Feature Engineering: summary of common feature transformation methods
cookie、session、tooken
Nacos 配置中心整体设计原理分析(持久化,集群,信息同步)
C语言:逻辑运算和判断选择结构例题
5g era is coming in an all-round way, talking about the past and present life of mobile communication
BGP experiment the next day
How much can a job hopping increase? Today, I saw the ceiling of job hopping.
Installation et utilisation du lac bleu