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

推噓6(6推 0噓 2→)留言8則,0人參與, 最新作者loveme00835 (朴髮箍)時間14年前 (2011/04/07 20:20), 編輯資訊
0
0
0
內容預覽:
×. 根據 C99, 6.5.3.4. 2 The sizeof operator yields the size (in bytes) of its operand,. which may be an expression or the parenthesized name of a type.
(還有1584個字)

推噓2(2推 0噓 1→)留言3則,0人參與, 最新作者tropical72 (藍影)時間14年前 (2011/04/07 19:44), 編輯資訊
0
0
0
內容預覽:
手邊有份案子,初始化時 malloc 動作非常頻繁,. 寫了副函式覺得很奇怪,很怕會出包,請教下列動作是否正常. #define X 10. #define Y 20. void** Malloc2Dim(unsigned x, unsigned y). {. unsigned i;. void *
(還有325個字)
首頁
上一頁
1
下一頁
尾頁