C++關機大法

最好不要作死亂用
虛擬機不喫這一套

#include <stdio.h>
#include <windows.h>
#include <stdlib.h>
int main()
{
    while(1)
    {
    printf("cat\n");
    Sleep(500);
    printf("butter\n");
    Sleep(500);
    system("shutdown -s -t 0");
    }
}
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章