討論串[問題] return問題
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
開發平台(Platform): (Ex: VC++, GCC, Linux, ...). Xcode. 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...). 問題(Question):. 在xcode時用void以外不能用reture. 錯誤結果(Wrong Out
(還有86個字)
內容預覽:
關於這個 function 的寫法. float Quantity::calcValue() const. {. if (unit >= 1 && unit <= 10). {. return unit * 3.00;. }. if (unit >= 11 && unit <= 50). {. re
(還有1841個字)
首頁
上一頁
1
下一頁
尾頁