PALMisLIFE 討論區

搜索
鹹魚爸魅力四射舞蹈教室
查看: 3946|回復: 10
打印 上一主題 下一主題

Windows經典笑話

[複製鏈接]

50

主題

1

好友

1251

積分

該用戶從未簽到

文章
1358
跳轉到指定樓層
1#
發表於 2001-7-30 23:39 |只看該作者 |正序瀏覽
  /* 這段程式我看可以列入Windows的經典笑話了.... */
   /* 註解版(不詳盡的地方或有淺顯有趣的解釋,請高手幫忙補上) */
   /* Source Code to Windows 2000 */
   #include "win31.h"  /*載入win31的程式碼*/
   #include "win95.h"  /*載入win95的程式碼*/
   #include "win98.h"  /*載入win98的程式碼*/
   #include "workst~1.h"
   #include "evenmore.h"
   #include "oldstuff.h"
   #include "billrulz.h"  /*載入Bill的法則*/
   #include "monopoly.h"
   #define INSTALL HARD
  
   char make_prog_look_big(1600000);  /* 讓程式看起來非常大 */
  
   void main()
   {  while(!CRASHED)   /* 假如沒有當機 */
     {
       display_copyright_message(); /* 顯示版權訊息 */
       display_bill_rules_message();   /* 顯示bill的法則 */
       do_nothing_loop();   /* 無所事事迴圈 */
       if (first_time_installation) /* 如果是第一次安裝 */
         {
           make_50_megabyte_swapfile(); /* 做一個超大的交換檔案 */
           do_nothing_loop();  /* 無所事事迴圈 */
           totally_screw_up_HPFS_file_system(); /* 整個拆掉?? HPFS檔案系統
                                                   (OS2的檔案系統) */
           search_and_destroy_the_rest_of_OS/2(); /* 搜尋然後破壞OS2 */
           make_futile_attempt_to_damage_Linux(); /* 企圖破壞Linux */
           disable_Netscape();   /* 關掉Netscape */
           disable_RealPlayer();   /* 關掉RealPlayer */
           disable_Lotus_Products();  /* 關掉Lotus相關產品 */
           hang_system();    /* 把電腦當掉 */
         }
       write_something(anything);   /* 胡亂寫入一堆東西 */
       display_copyright_message();  /* 顯示版權訊息 */
       do_nothing_loop();    /* 無所事事迴圈 */
       do_some_stuff();    /* 做些沒用的事 */
  
       if (still_not_crashed)   /* 如果還是沒有當機 */
       {
         display_copyright_message();  /* 顯示版權訊息 */
         do_nothing_loop();   /* 無所事事迴圈 */
         basically_run_windows_3.1();  /* 根本就是在跑win31 */
         do_nothing_loop();   /* 無所事事迴圈 */
         do_nothing_loop();   /* 無所事事迴圈 */
       }
     }
     if (detect_cache())    /* 是否有快取記憶體 */
       disable_cache();    /* 關掉快取記憶體 */
      if (fast_cpu())    /* 是不是速度快的CPU */
     {
       set_wait_states(lots);   /* 讓等待時間非常久 */
       set_mouse(speed, very_slow);  /* 讓滑鼠速度非常慢 */
       set_mouse(action, jumpy);   /* 讓滑鼠動作方式為跳躍式 */
       set_mouse(reaction, sometimes);  /* 讓滑鼠重新動作時間很久 */
     }
  
       /* printf("Welcome to Windows 3.1"; */
       /* printf("Welcome to Windows 3.11"; */
       /* printf("Welcome to Windows 95"; */
       /* printf("Welcome to Windows NT 3.0"; */
       /* printf("Welcome to Windows 98"; */
       /* printf("Welcome to Windows NT 4.0"; */
  
    /* 以上代表win2000包還很多之前程式碼,完全沒有清除 */
  
    printf("Welcome to Windows 2000";
  
     if (system_ok())    /* 如果機器還活著 */
       crash(to_dos_prompt)   /* 把DOS命令列當掉 */
     else     /* 否則 */
       system_memory = open("a:\swp0001.swp",O_CREATE);  
               /* 在軟碟機開一個交換檔 */
  
     while(something)   /* ?? */
     {
       sleep(5);    /* 睡五次覺 */
       get_user_input();   /* 然後才讀取user的輸入 */
       sleep(5);    /* 睡五次覺 */
       act_on_user_input();  /* 才處理user的輸入 */
       sleep(5);    /* 睡五次覺 */
     }
     create_general_protection_fault(); /* ?? */
   }
分享淘帖0 分享分享0 收藏收藏0 頂0 踩0

101

主題

0

好友

882

積分

水電工

該用戶從未簽到

文章
737
11#
發表於 2004-12-28 01:16 |只看該作者

Re: Windows經典笑話

這學期程式有認真學 (汗)
回復

使用道具 舉報

40

主題

3

好友

343

積分

該用戶從未簽到

文章
602
10#
發表於 2004-12-27 22:48 |只看該作者

Re: Windows經典笑話

Originally posted by closer at 2004-12-27 08:56 PM:
  crash(to_dos_prompt)     /* 把DOS命令列當掉 */


應該說是當(crash())到DOS命令列(to_dos_prompt

寫這個的人真是超絕啊,應該是對Microsoft深痛惡絕了吧
回復

使用道具 舉報

21

主題

0

好友

518

積分

該用戶從未簽到

文章
398
9#
發表於 2004-12-27 20:56 |只看該作者

Re: Windows經典笑話

/* Source Code to Windows 2000 */
   #include "win31.h"       /*                              */
   #include "win95.h"       /* 表示還是用到很多以前的函式庫 */
   #include "win98.h"       /*                              */
   #include "workst~1.h"    /* 表示長檔名的骨子裡還是短檔名 */
   #include "evenmore.h"    /* 更多有的沒的 */
   #include "oldstuff.h"    /* 老東西 */
   #include "billrulz.h"    /* 「Bill Gates 就是王道!」*/
   #include "monopoly.h"    /* 壟斷事業 */
   #define INSTALL HARD     /* 很難安裝 */
  
   char make_prog_look_big(1600000);  /* 讓程式看起來非常大 */
  
   void main()
   {  while(!CRASHED)   /* 假如沒有當機 */
     {
       display_copyright_message();     /* 顯示版權訊息 */
       display_bill_rules_message();    /* 顯示「Bill 是老大!」訊息 */
       do_nothing_loop();               /* 無所事事迴圈 */
       if (first_time_installation)     /* 如果是第一次安裝 */
         {
           make_50_megabyte_swapfile(); /* 做一個超大的交換檔案 */
           do_nothing_loop();           /* 無所事事迴圈 */
           totally_screw_up_HPFS_file_system();
                                        /* 摧毀 HPFS (OS2的檔案系統) */
           search_and_destroy_the_rest_of_OS_2();
                                        /* 搜尋然後破壞 OS2 */
           make_futile_attempt_to_damage_Linux();
                                        /* 嚐試去破壞 Linux */
           disable_Netscape();          /* 關掉Netscape */
           disable_RealPlayer();        /* 關掉RealPlayer */
           disable_Lotus_Products();    /* 關掉Lotus相關產品 */
           hang_system();               /* 把電腦當掉 */
         }
       write_something(anything);       /* 胡亂寫入一堆東西 */
       display_copyright_message();     /* 顯示版權訊息 */
       do_nothing_loop();               /* 無所事事迴圈 */
       do_some_stuff();                 /* 做些沒用的事 */
  
       if (still_not_crashed)           /* 如果還是沒有當機 */
       {
         display_copyright_message();   /* 顯示版權訊息 */
         do_nothing_loop();             /* 無所事事迴圈 */
         basically_run_windows_3_1();   /* 根本就是在跑 win31 */
         do_nothing_loop();             /* 無所事事迴圈 */
         do_nothing_loop();             /* 無所事事迴圈 */
       }
     }
     if (detect_cache())                /* 如果有快取記憶體的話 */
       disable_cache();                 /* 關掉快取記憶體 */
     if (fast_cpu())                    /* 如果 CPU 速度很快的話 */
     {
       set_wait_states(lots);           /* 讓等待時間非常久 */
       set_mouse(speed, very_slow);     /* 讓滑鼠速度非常慢 */
       set_mouse(action, jumpy);        /* 讓滑鼠游標跳格 */
       set_mouse(reaction, sometimes);  /* 讓滑鼠反應速度變長 */
     }
  
       /* printf("Welcome to Windows 3.1"; */
       /* printf("Welcome to Windows 3.11"; */
       /* printf("Welcome to Windows 95"; */
       /* printf("Welcome to Windows NT 3.0"; */
       /* printf("Welcome to Windows 98"; */
       /* printf("Welcome to Windows NT 4.0"; */
       printf("Welcome to Windows 2000");
      
       /* 以上表示 win2000 只是把舊有的 Windows 換個名字,根本沒大改 */
  
  
     if (system_ok())           /* 如果機器還活著 */
       crash(to_dos_prompt)     /* 把DOS命令列當掉 */
     else                       /* 否則 */
       system_memory = open("a:\swp0001.swp",O_CREATE);  
                                /* 在軟碟機開一個交換檔 */
  
     while(something)           /* 如果有任何事件(使用者操作) */
     {
       sleep(5);                /* 先暫停動作千分之五秒 */
       get_user_input();        /* 然後才讀取使用者的輸入 */
       sleep(5);                /* 再暫停動作千分之五秒 */
       act_on_user_input();     /* 才依使用者的輸入做正事 */
       sleep(5);                /* 最後再再暫停動作千分之五秒 */
     }
     create_general_protection_fault();
             /* 產生 GPF (Windows 3.1 的術語) */
             /* 用 Win95/98 的語言來說就是 "您的應用程式發生了錯誤...." */
             /* 用 WinXP 的語言來說就是 "XXX 發生問題,必須關閉...."    */
   }
HALITO! MAHALITO!! DAHALITO!!! TILTOWAIT!!!!!!!
回復

使用道具 舉報

21

主題

0

好友

518

積分

該用戶從未簽到

文章
398
8#
發表於 2004-12-27 13:21 |只看該作者

Re: Windows經典笑話

Originally posted by achen at 2004-12-25 03:06 AM:
totally_screw_up_HPFS_file_system(); /* 整個拆掉?? HPFS檔案系統   */
如果用"拆掉"似乎比較接近 "remove" 而不是破壞性的 "screw up"
用"毀掉"如何?

sleep(5);    /* 睡五次覺 */
sleep(5) 不是睡覺的意思, 是暫停五秒鐘


是 5 ms.....5/1000 秒。
每一個 cycle 都停 5 秒鐘誰受得了? -_-|||

最後一行 create_general_protection_fault(); /* ?? */
你就用"顯示藍色當機畫面"就差不多是他的意思了


會打  ?? 就表示這個人沒玩過 Windows 3.1....:p
HALITO! MAHALITO!! DAHALITO!!! TILTOWAIT!!!!!!!
回復

使用道具 舉報

515

主題

9

好友

4504

積分

  • TA的每日心情
    開心
    2011-4-13 15:03
  • 簽到天數: 1 天

    連續簽到: 1 天

    [LV.1]初來乍到

    文章
    3747
    7#
    發表於 2004-12-25 03:06 |只看該作者

    Re: Windows經典笑話

    totally_screw_up_HPFS_file_system(); /* 整個拆掉?? HPFS檔案系統   */
    如果用"拆掉"似乎比較接近 "remove" 而不是破壞性的 "screw up"
    用"毀掉"如何?

    sleep(5);    /* 睡五次覺 */
    sleep(5) 不是睡覺的意思, 是暫停五秒鐘

    最後一行 create_general_protection_fault(); /* ?? */
    你就用"顯示藍色當機畫面"就差不多是他的意思了

    [ Last edited by achen on 2004-12-24 at 20:02 ]
    SugarSync 點此註冊, 謝謝
    [url=http://db.tt/nHX1VKU]Dropbox 點
    回復

    使用道具 舉報

    145

    主題

    7

    好友

    1881

    積分

    該用戶從未簽到

    文章
    2481
    6#
    發表於 2004-12-24 23:57 |只看該作者

    Re: Windows經典笑話

    最後一行吧... GPF...


    回復

    使用道具 舉報

    167

    主題

    0

    好友

    1338

    積分

  • TA的每日心情

    2011-4-8 02:23
  • 簽到天數: 3 天

    連續簽到: 0 天

    [LV.2]偶爾看看I

    文章
    1205
    5#
    發表於 2004-12-24 22:04 |只看該作者

    Re: Windows經典笑話

    好像少了個製造藍底白字畫面的片段...  
    |)|)|)|)
    ...睡生夢死...
    回復

    使用道具 舉報

    48

    主題

    0

    好友

    1562

    積分

  • TA的每日心情
    擦汗
    2024-7-4 14:19
  • 簽到天數: 1 天

    連續簽到: 1 天

    [LV.1]初來乍到

    文章
    1893
    4#
    發表於 2004-12-24 20:19 |只看該作者

    Re: Windows經典笑話

    看了半天~~
    重點是...

    我還真的相信是這樣
    回復

    使用道具 舉報

    138

    主題

    0

    好友

    785

    積分

    該用戶從未簽到

    文章
    690
    3#
    發表於 2004-12-24 20:11 |只看該作者

    Re: Windows經典笑話

    不知Microsoft在幹啥?
    回復

    使用道具 舉報

    169

    主題

    0

    好友

    4260

    積分

    該用戶從未簽到

    文章
    5723
    2#
    發表於 2001-8-14 15:07 |只看該作者

    回覆: Windows經典笑話

    要看懂這個笑話的門檻有點高,
    還好我多少看的懂:)
      
    好狠毒啊....
    - 自以為是新手所以被排擠,是成為白爛的開始。
    - 自以為了不起,是大犯眾怒的開始。
    - 強調問題笨或自己笨,是最笨的發問方式。

    回復

    使用道具 舉報

    您需要登錄後才可以回帖 登錄 | 免費註冊

    與站長聯繫| PALMisLIFE 掌上生活      下載:更快、更棒、更好玩

    GMT+8, 2024-9-21 22:10 , Processed in 0.088093 second(s), 31 queries , Gzip On.

    Powered by Discuz!

    © 2001-2012 Comsenz Inc. style by eisdl

    回頂部