討論串[問題] C 結構指標的記憶體配置寫法
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
這樣就可以跑. #include <stdio.h>. #include <stdlib.h>. int main(). {. typedef struct. {. int area;. int width[15];. int height[15];. } MS;. MS *burst;. burs
(還有207個字)
內容預覽:
typedef struct {. int area;. int width[15];. int height[15];. }MS;. MS *burst;. burst=(struct MS*)malloc(sizeof(struct MS)*40);. ^^^^^^^^^^^^^^^^^^^^^
(還有164個字)
首頁
上一頁
1
下一頁
尾頁