Today to share a C language code, adjust the tense state of life.
#define _crt_secure_no_warnings 1#include<stdio.h> #include <stdlib.h> #include <string.h>int main ( ) {char input[20]; System ("Shutdown-s-T");//-s indicates that computer shutdown-T XX refers to the time to wait for the shutdown set to xx seconds sign:printf ("Haha, quickly input: I am a big stupid pig, or computer after 90s shutdown! \ n "); scanf ("%s", input); if (strcmp (input, "I am a big pig") = = 0) {System ("shutdown-a");//-a refers to terminating the systems shutdown} else {goto sign; } return 0;}
A long time have not written a blog, here to self-criticism, anything is to insist, before the original intention of the blog is to want to grow their own learning through the blog record, the results ~ ~ ~. But it's not too late to mend. Now, it's a wonderful experience to review your previous knowledge and write it as a blog.
Learn C language, no longer have to worry about being bullied!