討論串[問題] return問題
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓4(4推 0噓 19→)留言23則,0人參與, 最新作者david830317 (dd810)時間8年前 (2016/04/28 01:42), 編輯資訊
1
0
1
內容預覽:
開發平台(Platform): (Ex: VC++, GCC, Linux, ...). Xcode. 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...). 問題(Question):. 在xcode時用void以外不能用reture. 錯誤結果(Wrong Out
(還有86個字)

推噓5(5推 0噓 6→)留言11則,0人參與, 最新作者Schottky (順風相送)時間8年前 (2016/04/28 15:23), 編輯資訊
0
0
1
內容預覽:
關於這個 function 的寫法. float Quantity::calcValue() const. {. if (unit >= 1 && unit <= 10). {. return unit * 3.00;. }. if (unit >= 11 && unit <= 50). {. re
(還有1841個字)
首頁
上一頁
1
下一頁
尾頁