摘要:
链式串类LinkString源码:#pragma onceclass StringNode{public: char element; StringNode *next; };class LinkString{public: LinkString(void) { top = new StringNode(); } LinkString(char * s2) { top = new StringNode(); *this = s2; //运算符=重载,用char串赋值 } //用char串赋值... 阅读全文