看板 NTUEE_VAL 關於我們 聯絡資訊
struct A_type *A = (struct A_type*) malloc(sizeof(struct A_type)); 等號後面的(struct A_type*)少了_type sizeof()裡面少了struct 我也不知道該說甚麼好,大過年的 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.175.172.48