看板 b92902xxx 關於我們 聯絡資訊
※ 引述《flyhermit (Love Just Ain't Enough)》之銘言: : ※ 引述《pangfeng (Ikari Gendou)》之銘言: : : Description : : http://www.csie.ntu.edu.tw/~pangfeng/C2003/homework.htm#homework6 : 1. No global or static variables allowed. You need to get everything : done with parameter passing. : 2. No functions other than printf and scanf allowed. : I don't understand these restrictions exactly. : Does it mean that we can write our own fouction but : can't use any function in the library except printf & scanf? : I don't think it's a great idea to write everything in main for this problem. : How horrible it will be! Since you ask in English, I will reply in English. Of course you can write your own functions. The main purpose of this homework is to practice recursive programming. The "functions" I refered to are "system functions", since I do not want you to use strcpy(), strlen(), islower() at this moment. Hope this helps clarifying things. -- 台灣大學資訊工程系 劉邦鋒 -------------------------- 合理的作業是訓練,不合理的作業是磨練。 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.28.27 ※ 編輯: pangfeng 來自: 140.112.28.27 (10/21 12:54)
flyhermit:I see, thx 推 210.85.134.246 10/21
went27:大家都是中國人,何必如此呢?? 推140.112.239.153 10/22
pangfeng:因為我中打很慢,能偷懶就偷懶. ;-) 推 140.112.28.27 10/22