串的顺序存储和链式存储

#include<iostream>
using namespace std;
typedef struct {
    char *ch;
    int length;
}HString;


#define CHUNKSIZE 80
typedef struct Chunk {
    char ch[CHUNKSIZE];
    struct Chunk*next;
}Chunk;
typedef struct {
    Chunk *head, *tail;
    int curlen;
}LString;
原文地址:https://www.cnblogs.com/h694879357/p/11710406.html