摘要: 改写要求:重载>>和#include using namespace std;class Fract{ int num,den; public: friend ostream& operator > (istream& int... 阅读全文
posted @ 2015-02-04 12:03 Dior12345 阅读(221) 评论(0) 推荐(0)
摘要: 改写要求1:改写为单链表结构可以对任意长度整数集合求并集#include #include using namespace std;struct LinkNode{ int data; LinkNode* next; };class SET{ public: ... 阅读全文
posted @ 2015-02-04 12:01 Dior12345 阅读(505) 评论(0) 推荐(0)
摘要: 改写要求1:改为适合处理超长整数#include #include #include using namespace std;struct LinkNode{ short int data; LinkNode *next;};class STR{ string st... 阅读全文
posted @ 2015-02-04 11:47 Dior12345 阅读(237) 评论(0) 推荐(0)
摘要: 改写要求1:动态生成单链表存储#include #include using namespace std;struct LinkNode{ int data; struct LinkNode *next;};class NUM{ int n; public:... 阅读全文
posted @ 2015-02-04 11:27 Dior12345 阅读(273) 评论(0) 推荐(0)
摘要: 改写要求1:改写为以单链表表示二维数组#include #include using namespace std; struct LinkNode { int Row; int Column; int Data;... 阅读全文
posted @ 2015-02-04 11:20 Dior12345 阅读(208) 评论(0) 推荐(0)
摘要: 改写要求1:改写为以指针为数据结构#include #include using namespace std; class ARP { int m; int* p; int count[10]; public: ARP(int x[],int size... 阅读全文
posted @ 2015-02-04 11:18 Dior12345 阅读(341) 评论(0) 推荐(0)