文章编辑 课程设计
//txtlink.h static unsigned sizeofchar = sizeof(char); class node //链表节点类 { private: char* txt; node* next; public: void Put(char* tar); //获取字符串 void Get(char* source); //输出字符串 node* Next(); //输出结点指针 void setNext(node* N); //获取结点指针 node(char* source = 0); ~node(); }; class tlink //链表类 { private: node* list; node* tail;
用户评论