[問題] 黃鐘楊老師的作業
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
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):