下面是一种用 C 语言实现的方法:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define MAX_LEN 20
struct node {
char data[MAX_LEN + 1];
struct node *next;
};
int main
下面是一种用 C 语言实现的方法:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define MAX_LEN 20
struct node {
char data[MAX_LEN + 1];
struct node *next;
};
int main