資源簡介
《數據結構——C++實現》(第二版)課本源代碼
繆淮扣 沈俊 顧訓穰 編著

代碼片段和文件信息
#include?“SeqList.h“ //?順序表類
int?main(void)
{
char?a[]?=?{‘A‘‘C‘‘E‘‘G‘‘I‘}?b[]?=?{‘A‘‘B‘‘C‘‘D‘‘H‘‘I‘‘J‘}e;?
SeqList?la(a550)?lb(b750)?lc(50);
for?(int?i?=?1;?i?<=?la.GetLength();?i++) {
la.GetElem(i?e); //?取出la中第i個元素e
if?(lb.LocateElem(e))???//?如果e在lb中存儲將其插入到lc中
lc.InsertElem(e);?
}
cout?<“集合A:“;
la.Traverse(Write); ????//?顯示集合A
cout?<
cout?<“集合B:“;
lb.Traverse(Write); ????//?顯示集合B
cout?<
cout?<“集合C:“;
lc.Traverse(Write); ????//?顯示集合C
cout?<
system(“PAUSE“);????????????//?調用庫函數system()暫停系統運行?
return?0;???????????????????//?返回操作系統
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
????.......???????711??2014-11-05?08:47??《數據結構——C++實現》(第二版)課本源代碼\Chapter3\assemble\assemble.cpp
????.......??????3447??2013-12-07?21:43??《數據結構——C++實現》(第二版)課本源代碼\Chapter3\assemble\Assistance.h
????.......??????6747??2014-11-05?08:46??《數據結構——C++實現》(第二版)課本源代碼\Chapter3\assemble\SeqList.h
????.......??????3447??2013-12-07?21:43??《數據結構——C++實現》(第二版)課本源代碼\Chapter3\dbl_li
????.......??????7496??2014-11-05?08:52??《數據結構——C++實現》(第二版)課本源代碼\Chapter3\dbl_li
????.......???????925??2011-09-07?12:22??《數據結構——C++實現》(第二版)課本源代碼\Chapter3\dbl_li
????.......??????2121??2014-11-05?08:52??《數據結構——C++實現》(第二版)課本源代碼\Chapter3\dbl_li
????.......??????3447??2013-12-07?21:43??《數據結構——C++實現》(第二版)課本源代碼\Chapter3\li
????.......??????7164??2014-11-05?08:49??《數據結構——C++實現》(第二版)課本源代碼\Chapter3\li
????.......???????628??2013-01-03?07:25??《數據結構——C++實現》(第二版)課本源代碼\Chapter3\li
????.......??????2261??2014-11-05?08:49??《數據結構——C++實現》(第二版)課本源代碼\Chapter3\li
????.......??????3447??2013-12-07?21:43??《數據結構——C++實現》(第二版)課本源代碼\Chapter3\polynomial\Assistance.h
????.......??????7154??2013-08-20?15:02??《數據結構——C++實現》(第二版)課本源代碼\Chapter3\polynomial\li
????.......???????628??2013-01-03?07:25??《數據結構——C++實現》(第二版)課本源代碼\Chapter3\polynomial\Node.h
????.......???????529??2008-02-08?22:18??《數據結構——C++實現》(第二版)課本源代碼\Chapter3\polynomial\PolyItem.h
????.......??????4695??2014-11-05?08:50??《數據結構——C++實現》(第二版)課本源代碼\Chapter3\polynomial\Polynomial.h
????.......??????1644??2014-11-05?08:51??《數據結構——C++實現》(第二版)課本源代碼\Chapter3\polynomial\TestPolynomial.cpp
????.......??????3447??2013-12-07?21:43??《數據結構——C++實現》(第二版)課本源代碼\Chapter3\seq_list\Assistance.h
????.......??????6747??2014-11-05?08:48??《數據結構——C++實現》(第二版)課本源代碼\Chapter3\seq_list\SeqList.h
?????文件???????2524??2014-11-05?08:48??《數據結構——C++實現》(第二版)課本源代碼\Chapter3\seq_list\TestSeqList.cpp
????.......??????3447??2013-12-07?21:43??《數據結構——C++實現》(第二版)課本源代碼\Chapter4\calculator\Assistance.h
????.......??????6242??2014-11-05?09:30??《數據結構——C++實現》(第二版)課本源代碼\Chapter4\calculator\Calculator.h
????.......??????4315??2014-11-05?09:19??《數據結構——C++實現》(第二版)課本源代碼\Chapter4\calculator\li
????.......???????640??2008-02-23?17:50??《數據結構——C++實現》(第二版)課本源代碼\Chapter4\calculator\Node.h
????.......???????863??2014-11-05?08:44??《數據結構——C++實現》(第二版)課本源代碼\Chapter4\calculator\TestCalculator.cpp
????.......??????3447??2013-12-07?21:43??《數據結構——C++實現》(第二版)課本源代碼\Chapter4\Hanoi\Assistance.h
????.......??????2158??2014-11-05?09:33??《數據結構——C++實現》(第二版)課本源代碼\Chapter4\Hanoi\Hanoi.cpp
????.......??????4315??2014-11-05?08:57??《數據結構——C++實現》(第二版)課本源代碼\Chapter4\Hanoi\li
????.......???????640??2008-02-23?17:50??《數據結構——C++實現》(第二版)課本源代碼\Chapter4\Hanoi\Node.h
????.......??????3447??2013-12-07?21:43??《數據結構——C++實現》(第二版)課本源代碼\Chapter4\li
............此處省略268個文件信息
- 上一篇:哈夫曼樹 C++算法
- 下一篇:c語言畫圖及小動畫制作
評論
共有 條評論