gcc hw3.c ...... 程式記憶體區段錯誤!
#include <homework_hell.h>
#include <poor_health.h>
#include <no_holiday.h>
int
main(int argc, char *argv[])
{
while (professor_alive)
{
number_homework++;
printf("Homework %d posted\n", number_homework);
/* 我甚至還沒把 final_exam() 的功能加上去...... */
}
summer_vacation("Oh yeah! It's coming!");
return probability_karoshi;
}
void
summer_vacation(char *sentence)
{
printf("%s I want to......\n", sentence);
write_monograph("TinyOS"); // 我好想把這一行註解掉......
play_xBox_360("Prototype");
date("Girlfriend");
travel();
do_nothing();
}
/*
/* 你們不覺得在 while 迴圈之外的 summer_vacation() 顯得很悲傷嗎?
/* 真希望哪天 professor_alive 會變成 FALSE
/* 唉............
/*/
男:「今天是妳生日,我沒有什麼貴重的東西可以送你,這是我的一點心意。」
女:「哇!是 99 朵 "程式記憶體區段錯誤" 耶!愛死你了!」
看起來好嚴重...
嘎哈哈哈
你超慘的耶~都走火入魔了說= =
而且
關於暑假,到最後都會變成do nothing然後冷氣吹到死吧...
(不過這次女朋友和xbox可以達成耶~)
p.s. professor_alive will never be false,resign urself to ur fate...T^T
猜猜看這是甚麼 喔 我愛暑假 快樂的重修
Experience Silverlight enabled quickstart tutorials, video training, showcases & more.
<!-- example how to use impression and click tracking with banmanpro
-->
By clicking "Click to Install" you accept the Silverlight License Agreement.
Silverlight updates automatically, learn more.
int main 外面不用先放
void summer_vacation(char *sentence);
嗎?
永遠都不能執行summer_vacation()真的好悲傷阿!!
不然先去幹掉professor吧!!!!
為甚麼這麼悲慘的東西我也看得懂.....囧
希望你不會強制把professor_alive變FALSE...不然你又有新聞了XD
我怎麼PO的回覆...都會消失阿= ="
有進垃圾桶嗎?
TO 非與
其實比看起來更嚴重......
TO 小木偶的主人
這個暑假可能就是我人生中的最後一個暑假了
TO 香腸王
你貼的程式碼被 wordpress 吃掉了
TO 讓我歐趴吧
你如果想認真 debug 的話
錯誤其實也不是只有一個嘛~
TO 莫小屁
因為被當成 SPAM 了
看得懂的人 我想...100%眼睛都會流汗.....
阿~~
if(professor_alive is false)
{
printf("大家有個快樂的暑假\n");
printf("全員強制歐趴");
}
為甚麼我會看得想哭XD
我覺得你快要中毒了(噗)
好悲哀的一篇Blog是怎樣...
你的教授不死, 你就沒有暑假.
因為你的暑假內沒有迴圈,
write_monograph("TinyOS");
play_xBox_360("Prototype");
date("Girlfriend");
travel();
你依序做完上面這四件事各一次後, 你的暑假就結束.
依我看, 你的暑假執行時間不到一週.
我完全看不懂...
我一打開看還以為電腦壞了出現亂碼哈哈
good job!!
一語道破 資工的心酸!!
for(int i=0;i<=(i+1);i++){
if(professor_alive)
cout << "homework(" << i << ")" <<endl;
else
break;
}
cout << "summer_vacation coming!!" <<endl;
return 0;
我也想讀資工 不過這是哪個的程式語言
C語言(這位先生您真幽默 連大名鼎鼎的C都不知= =)
C吧?:D
最近很少更新耶。
是我最大的樂趣耶~~~快來~
呵~~真是好笑~
如果是我來寫這段code的話~~應該是把professor 改成Boss吧
不過 if Boss not alive 對我似乎也沒什麼好處~~
因為就沒人發錢啦...:P
不過如果Boss terminate 之後~
我能繼承他的所有property 的話,那就另當別論!!
放暑假之後一定會更不常更新的!
你們放心好了!
我也是資工系畢業的 我看不懂 機賣啦!
C 語言還真是高階阿~