摘要: 链式串类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串赋值... 阅读全文
posted @ 2013-09-27 14:17 夏阳秋时 阅读(373) 评论(0) 推荐(0) 编辑