C語言之建立單鏈表

#include <stdio.h> #include<string.h> #include <malloc.h> /*包含動態內存分配函數的頭文件*/ #define N 10 /*N爲人數*/ typedef struct node {     char name[20];     struct node *link; /**link是node結構體類型的的指針,因此能夠用來保存下一個結點的的
相關文章
相關標籤/搜索