鏈表的建立

上學期C++老師教鏈表的時候沒有認真聽,這學期要補回來。今天就先來寫一寫鏈表的建立的基本的代碼,輸入輸出的。node //正序輸入輸出 #include <stdio.h> #include <stdlib.h> struct node {     int num;     struct node*next; }; struct node*creat(int n)//鏈表的錄入 {    
相關文章
相關標籤/搜索