轉信站: GIBBS!news2.ncku!ccnews.ncku!news.ccns.ncku!news.mksh.phc!news.nsysu!Sp
Origin: bbs.kkcity.com.tw
collectF(int x, int mod, node L[3000])
{
link head;
link ptr;
if(L[mod].pointer ==0)
{
head = (link) malloc(sizeof(node));
ptr = head;
ptr->head = x;
L[mod].con++;
ptr->next = NULL;
ptr = head;
}
}
這段程式碼錯在哪@@?
為何我用TC去跑他都說我的head未宣告
x值在本段程式裡未使用...
請指教一下~感激不盡
--
┌─────◆KKCITY◆─────┐ KK免/費/撥/接 ◤
│ bbs.kkcity.com.tw │▏電話(1):449◤1999 電話(2):4058-6000
└──《From:61.220.247.41 》──┘▏帳號:kkcity 密碼:kkcity