2014年9月29日
摘要: 单链表大整数加法,节点是char型。First List: head->1->8->9Second List: head->9->8->1Result List: head->1->1->7->0实现了单链表(单链表类模板),现在使用单链表实现大整数加法 1 #include "stdaf... 阅读全文
posted @ 2014-09-29 10:55 人生如梦多半是在演戏 阅读(481) 评论(0) 推荐(0) 编辑
摘要: 单链表类模板节点头ListNode.h 1 #include "stdafx.h" 2 #include 3 using namespace std ; 4 template class SingleList; 5 template 6 class ListNode{ 7 private: 8 ... 阅读全文
posted @ 2014-09-29 10:48 人生如梦多半是在演戏 阅读(231) 评论(0) 推荐(0) 编辑