[問題] 黃鐘楊老師的作業

看板NTUEE110HW作者 (孤獨的一匹狼)時間18年前 (2007/09/27 00:41), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
1. Describe your programming environment for this class, including “ Operating System (OS)”, “editor”, “compiler (program name and version)” and “debugger”. 要怎麼得知自己的editor、compiler、debuggrt的版本阿? 3. Write a “shortest” C++ program. No compilation error or warning is allowed. How many characters are in this program? 怎樣的東西才算一個character? 4. For the code in Problem (2), please try to insert ‘;’, ‘,’, “{ }”, and “( )” in different places (Note: there can be codes between ‘{’ and ‘ }’, or ‘(’ and ‘)’). Some of the insertions will cause compilation error or warning, and some don’t (but may change the program output). Please experiment and write down your observation. Give some explanations by your intuition. 他到底是想要我們幹嘛?自己亂加東西,然後說會有啥結果嗎?要把自己家的東西寫出來嗎? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.244.230
文章代碼(AID): #16-elL6Z (NTUEE110HW)
文章代碼(AID): #16-elL6Z (NTUEE110HW)