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

看板NTUEE110HW作者 (只要有希望永遠不會結束)時間18年前 (2007/09/27 00:56), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串2/2 (看更多)
※ 引述《vacahung (孤獨的一匹狼)》之銘言: : 1. Describe your programming environment for this class, including “ : Operating System (OS)”, “editor”, “compiler (program name and version)” : and “debugger”. : 要怎麼得知自己的editor、compiler、debuggrt的版本阿? 這個應該要看自己用什麼compiler了 Dev C++應該算蠻長看到的一種 直接到Bloodshed的網站查就可以了 如果用MS社的.NET 也可以用網站或系統查詢就可以知道自己用第幾版了 : 3. Write a “shortest” C++ program. No compilation error or warning is : allowed. How many characters are in this program? : 怎樣的東西才算一個character? 要看你寫的程式吧 我想應該是根據ASCII的算法 : 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. : 他到底是想要我們幹嘛?自己亂加東西,然後說會有啥結果嗎?要把自己家的東西寫出來嗎? 應該是一個自己試試看的問題吧 試試看完了之後自己解釋為什麼(我猜意思是人工compiler) 自己可以試著debug... -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 123.193.24.72

09/27 01:16, , 1F
Dev-C++是整合開發工具,裡面使用的compiler是GCC...
09/27 01:16, 1F
文章代碼(AID): #16-eyg-5 (NTUEE110HW)
文章代碼(AID): #16-eyg-5 (NTUEE110HW)