討論串[討論] 請板友幫忙review置底13誡--N.01
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓8(8推 0噓 0→)留言8則,0人參與, 最新作者tinlans ( )時間10年前 (2016/04/16 21:39), 10年前編輯資訊
0
0
1
內容預覽:
indeterminate6.7.9 Initialization. If an object that has automatic storage duration is not initialized explicitly,its value is indeterminate. If an ob
(還有2005個字)

推噓2(2推 0噓 7→)留言9則,0人參與, 最新作者wtchen (沒有存在感的人)時間10年前 (2016/04/16 18:56), 10年前編輯資訊
0
0
0
內容預覽:
先從第1誡開刀:. 01. 你不可以使用尚未給予適當初值的變數. 錯誤例子:. int accumulate(int max) /* 從 1 累加到 max,傳回結果 */. {. int sum; /* 未給予初值的區域變數,其內容值是垃圾 */. int num;. for (num = 1;
(還有1401個字)
首頁
上一頁
1
下一頁
尾頁