看板 NTPU-CSIE98 關於我們 聯絡資訊
※ [本文轉錄自 joke 看板 #1CC8xU68 ] 作者 iamso1 (可愛活潑小獸兒) 看板 joke 標題 Re: [耍冷] 宅宅追正妹的 5 個錯誤 時間 Sun Jul 4 21:38:35 2010 ─────────────────────────────────────── using iamso1.dll; using ptt.dll; public static void main(string[] args) { OTAKU so1=new OTAKU(); present MyPresent=new Present(); int Choose=1; Bool SuccessOrFail=false; String Girl=""; String GirlPhone=""; String CallConsquence=""; String SendConsquence=""; String DateConsquence=""; do { Girl=so1.GetGirlsName(); switch(Choose) { //找電話並且打電話 case 1: GirlPhone=so1.GetPhoneNum(Girl); CallConsquence=iamso1.Call(GirlPhone); SuccessOrFail=iamso1.Analysis(CallConsquence); if(SuccessOrFail==true) { iamso1.Upher(); ptt.GoToSexPost("超爽的~"); } else { Messagebox.Show(CallConsquence); Choose=2; } break; //送禮物攻勢 case 2: SendConsquence=so1.SendPresent(Girl,MyPresent); SuccessOrFail=iamso1.Analysis(SendConsquence); if(SuccessOrFail==true) { iamso1.Upher(); ptt.GoToSexPost("超爽的~"); } else { Messagebox.Show(SendConsquence); Choose=3; } break; //約出去 case 3: try { do { DateConsquence=so1.Date(Girl); SuccessOrFail=iamso1.Analysis(\ DateConsquence); if(SuccessOrFail==true) { iamso1.Upher(); ptt.GoToSexPost("超爽\ 的~"); } else { Messagebox.Show(SendCo\ nsquence); } }while(1); } catch(Exception ex) { MessageBox.Show("例外訊息 "+ex.ToString\ ()); Choose=4; } break; //吃不到 case 4: ptt.GoToHatePost(so1.EatFail()); break; Default: break; } }while(1); class OTAKU { OTAKU() { HairStyle hair =mess; BodyStyle body=HeavyAndShort ; FaceStyle face=Retard; Favorite likes=ComicAndACG; } //發現正妹,取得名字 public static String GetGirlsName() { String Name=""; Name=iamso1.GetName(); return Name; } //Google姓名找電話 public static String GetPhoneNum(String GirlName) { String PhoneNum=""; PhoneNum=iamso1.Google(GirlName); return PhoneNum; } //送禮物 public static String SendPresent(String GirlName,Object present) { String Response=""; Response=iamso1.Send(GirlName,present); return Response; } //約出去 public static String Date(String GirlName) { String Response=""; Response=iamso1.Date(GirlName); return Response; } //吃不到 public static String EatFail() { String Hate=""; Hate="FxxK! 商娥撫碧曲!!PUMA!!!"; return Hate; } } class Present { Present() { PresentPrice price=1.25cent; PresentStyle style=sick; } } --------- 執行結果: case1: (掛斷電話聲 case2: 抱歉 我想我們以後還是保持點距離好了..(正妹露出一臉厭惡樣 case3: 我明天有事情耶 我後天也有事情說 我大後天也有事情 只要是你我都沒空!!! 例外訊息:正妹已經搬家 case4: [黑特]FxxK! 商娥撫碧曲!!PUMA!!! ------------------------ 我花了兩三個小時打這個 打完之後 發現 不是很好笑.... -- █ █討厭~下面還沒熟~不能吃啦~ \\\ ◢◣ ~──~ █ ██ ◢◣ ▆▆▆▆ ██ ψQSWEET -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.163.0.97 http://paste.plurk.com/show/276814/ 未縮排 複製用版本 這可以算是程式碼的另一種用法嗎... -- 這篇文章讓你覺得?════════════════════════ by ycat y + . .ˇ ˇ ˇˇ || c ﹀ ̄▽ ̄ ﹏≦b ︶ ̄y – ̄ a 新奇 溫馨 誇張 難過 實用 高興 無聊 生氣 t ═════════════════════════════════ ╯ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 118.232.225.193
kazamihank:腦包禾~~~~ 07/09 22:42
t800516:這又不是我打的... 07/11 00:34