討論串[問題] C語言的link list問題
共 4 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
我最近在寫link list. 不過遇到一點小問題. #include<alloc.h>. struct list{. float coef;. int exp;. struct list *nx;. };. struct list *p1,*fr,*nw,*dl;. void main(). {.
(還有459個字)
內容預覽:
所以你想寫一個這樣的東西吧??. □→□→□→□→□→□→□→NULL. 如果是的話. 來看你的程式. 在此建了四個point. pl→???. fr→???. nw→???. dl→???. 跟記憶體要了兩個struct的空間. pl nw. ↓ ↓. □→??? □→???. pl nw. ↓
(還有336個字)
內容預覽:
我最近在寫link list. 不過遇到一點小問題. #include<alloc.h>. struct list{. float coef;. int exp;. struct list *nx;. };. struct list *p1,*fr,*nw,*dl;. int main(). {.
(還有666個字)
首頁
上一頁
1
下一頁
尾頁