討論串[鋼彈] 關於4-2的 Programming Tips
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓2(2推 0噓 0→)留言2則,0人參與, 最新作者chhsiao (bye~)時間18年前 (2007/10/28 22:27), 編輯資訊
0
0
0
內容預覽:
放在 function 裡面的變數會從 stack 中要記憶體,. 而 stack 還滿小的.. 放在 global space 的變數會從另一個叫 heap 的地方要記憶體,. 那一塊比較大.. --. n;main(i){return n?i<2?i:main(i-1)+main(i-2):.

推噓2(2推 0噓 1→)留言3則,0人參與, 最新作者vagrants (...)時間18年前 (2007/10/28 16:58), 編輯資訊
0
0
0
內容預覽:
Large arrays like A[1001][1000] might need to be declared before main() for. your compiler.. 剛剛測試了一下(用Dev-C++). 寫這樣. int main(void){. int a[1001][1000
(還有15個字)
首頁
上一頁
1
下一頁
尾頁