討論串[討論] 請板友幫忙review置底13誡--N.01
共 2 篇文章
首頁
上一頁
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個字)
內容預覽:
先從第1誡開刀:. 01. 你不可以使用尚未給予適當初值的變數. 錯誤例子:. int accumulate(int max) /* 從 1 累加到 max,傳回結果 */. {. int sum; /* 未給予初值的區域變數,其內容值是垃圾 */. int num;. for (num = 1;
(還有1401個字)
首頁
上一頁
1
下一頁
尾頁