2011年1月17日 星期一

Emma希望與大家說的話 12 - C++

作者: GreatShot () 看板: Gossiping
標題: Re: [轉錄][校園] Emma希望與大家說的話
時間: Mon Jan 17 02:47:39 2011

阿宅是這樣看待這個事件的



Emma  emma = new Emma();

//emma.setCountry("Sweden");
emma.setCountry("Denmark");
emma.setSchool("NTU");
emma.isSpeakingChinese(False);

int NumOfAbused=0;
int SchoolDay = 180;
while(True)
{
  --SchoolDay;
  try
   {
    emma.ListenToMusic(VolumeENUM.loud);
    emma.Skype(FamilyENUM.GrandMother);
    emma.Party();
    if(emma.Abused())
    {
     ++NumOfAbused;
     if(Abused < 5 )
     {
      emma.CloseDoor(VolumeENUM.extremelyLoud);
      emma.MakingNoise(VolumeENUM.extremelyLoud);
     }
     else if(Abused >= 5 && SchoolDay <5)
     {
      ArrayList friends = emma.FindFriends(6,GenderENUM.Male);
      ArrayList friends2 = emma.FindFriends(1,GenderENUM.Male, \
      CountryENUM.Taiwan);

      foreach(Friend f: friends)
      {
       f.Hit("Window");
       f.ThrowBeer("Heineken Can");
      }
      emma.Say("You will die soon");
      friends2.get(0).Hit("Door");
     }
    }
   catch(BeingMeatException e)
   {
    emma.WriteLetter("Emma希望與大家說的話");
    emma.RunAway(TrafficENUM.Air);
   }
}

--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.133.110.47
推 aa44:水喔  大夥們上阿 佔領八卦版  XDDDDD                        01/17 02:47
→ NicoRobin26:完全懂了                                            01/17 02:48
→ wawa1109:看不懂                                                 01/17 02:48
→ oneal6110891:...................................                01/17 02:48
推 roccqqck:快推懂 不然會被笑                                      01/17 02:48
推 ytcytc:原來如此~~                                               01/17 02:48
推 ndr:連java程式語言也來了XD                                      01/17 02:48
推 tmwolf:幹我看得懂                                               01/17 02:48
→ joehuang92:JAVA                                                 01/17 02:49
推 iyoka:推                                                        01/17 02:49
→ jwg2:幹!一看就懂了!XDDDDDDDDDDDDD                              01/17 02:49
推 uiorefd:JAVA!!! 是JAVA!!                                        01/17 02:49
→ y18:這個容易多了                                                01/17 02:49
推 yanli2:這篇翻譯應該早點來 這樣大家都懂了                        01/17 02:49
推 ting0628:我看得懂 (挺)                                          01/17 02:49
推 yuuirain:XDDDDD                                                 01/17 02:49
→ minilemon:三小啦 = =                                            01/17 02:49
推 ruemann:雖然不想承認,但我看懂了                                01/17 02:49
推 a1234957:XD                                                     01/17 02:49
推 okah:xdxdxd                                                     01/17 02:49
推 rem20020426:XDDDDDDDDDDDDD                                      01/17 02:49
推 snakeooxx:catch前少了一個  }                                    01/17 02:50
推 ast2:好多bugs 我的學生都不可能寫這麼差                          01/17 02:50
→ NoCanDo:有沒有C++版本?                                          01/17 02:50
推 kobejo4:BUG太多了  念在你有創意 重新再寫一個吧                  01/17 02:50
→ ting0628:推樓上 我也想要c語言的版本                             01/17 02:51
推 atomic:這樣教程式多有趣阿  XD                                   01/17 02:51
推 blackxsmith:這個推就給你了                                      01/17 02:51
→ gmoz:Syntax error on token ""Sweden"", delete this token        01/17 02:51
推 sunfox:有 PHP 版本嘛                                            01/17 02:51
推 Madroach:你贏了........                                         01/17 02:51
→ gmoz:VolumeENUM cannot be resolved to a variable                01/17 02:51
推 yung80111:幹XD                                                  01/17 02:51
推 swwf:竟然看得懂...                                              01/17 02:51
→ gmoz:BeingMeatException cannot be resolved to a type XDDDD      01/17 02:52
噓 cicici:看不懂辣                                         怎可能  01/17 02:52
推 loveruri:JAVA!! 我也看得懂= = Y                                 01/17 02:52
→ a1234957:你的lib勒                                              01/17 02:53
推 daimiku:靠北..                                                  01/17 02:54
推 clywin123:@@/                                                   01/17 02:54
噓 amatrrosivi:Denmark.... 說人家搞不清楚台灣泰國 自己也搞不清楚   01/17 02:55
→ amatrrosivi:北歐三國                                            01/17 02:55
感謝指正! 我承認我來亂的 XD
推 gaultter:完全看不懂  可是感覺好好笑                             01/17 02:56
※ 編輯: GreatShot       來自: 220.133.110.47       (01/17 02:59)
→ dragoni:XDDDDDD                                                 01/17 03:06
推 andy2151:JAVA 給推                                              01/17 03:59
推 p52189:囧  推...                                                01/17 04:24
→ rohan21:finally 河蟹                                            01/17 04:32
推 dagayealo:認真看完,看你有創意給推                              01/17 04:39
推 qrslrhko:XDDDD                                                  01/17 04:47
推 Zickler:用//變成註解XDDDDD                                      01/17 05:32
推 andy78714:媽的我怎麼看得懂= = 你太強了XD                        01/17 09:29
→ k591:XDDDDDDDDD                                                 01/17 09:33
→ allenJr:哇咧…                                                  01/17 10:13
推 reklawyks:幹...我居然嚐試著編譯...                              01/17 11:24
推 smaljohn:XDDD                                                   01/17 11:28
→ amatorylai:我看不懂 我哭了                                      01/17 11:58
推 heavengate:我居然看得懂XD                                       01/17 12:34
推 HOT781009:真好笑XD                                              01/17 12:46
→ ttprincess:靠杯 這篇超戳中我的笑點XDDDDDDDDD                    01/17 12:54
推 KingInTea:靠杯喔 殺小XDD                                        01/17 13:28
推 IVicole:XDDD                                                    01/17 13:38
推 neveror:只好裝懂了XD                                            01/17 14:07
推 Hiffy:........                                                  01/17 14:41
→ goldman0204:幹...我竟然看的懂= =囧rz..........                  01/17 15:22
推 jdkcupid:真有心....                                             01/17 17:33
推 jjji:我竟然看得懂?!!XDDD                                        01/17 18:25
推 kickmeout:太妙了..不禁擊掌                                      01/17 20:22

沒有留言:

張貼留言

您好.本資料庫並非第一手資料.如果你有對文章作者的詢問,意見與需求,請自行找尋文章作者並提供意見,謝謝.