資源簡介
北大張銘老師數據結構與算法課程的源代碼,很不錯的學習資料

代碼片段和文件信息
//使用廣義表類的例子
//
#include?“GenFunction.h“
void?main()
{
/*
//構造表((a1a2)(a1a2))
GenList?*List=new?GenList(“List“);
GenList?*List22=new?GenList(“L22“);
List22->Insert(“a1“);
List22->Insert(“a2“);
List->Insert(List22);
List->Insert(List22);
List->View();?
*/
//?構造表?(L1:(L2:(a?L1)?Lx:(L2?L3:b)?Ly:(L3cd)?L4:(L4))
GenList?*List=new?GenList(“List“);
GenList?*List1=new?GenList(“L1“);
????GenList?*List2=new?GenList(“L2“);
GenList?*List3=new?GenList(“L3“);
GenList?*List4=new?GenList(“L4“);
// GenList?*Listx=new?GenList(“Lx“);
// GenList?*Listy=new?GenList(“Ly“);
GenList?*Listx=new?GenList(““);
GenList?*Listy=new?GenList(““);
List3->Insert(“b“);
List4->Insert(List4);
Listy->Insert(List3);
Listy->Insert(“c“);
Listy->Insert(“d“);
List2->Insert(“a“);
List2->Insert(List1);
List1->Insert(List2);
????Listx->Insert(List2);
Listx->Insert(List3);
List->Insert(List1);
List->Insert(Listx);
List->Insert(Listy);
List->Insert(List4);
List->ViewList();?
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????74060??2006-05-06?13:51??數據結構與算法代碼C++\errata.pdf
?????文件??????22589??2005-06-11?15:44??數據結構與算法代碼C++\數據結構算法集?C++語言實現(上).txt
?????文件???????5105??2005-06-11?15:44??數據結構與算法代碼C++\數據結構算法集?C++語言實現(下).txt
?????文件???????1304??2003-12-10?10:59??數據結構與算法代碼C++\Chap9_hash\COMPARE.H
?????文件???????2574??2004-01-14?16:24??數據結構與算法代碼C++\Chap9_hash\hash_tomb2\HASHDICT.CPP
?????文件???????3488??2003-11-02?16:45??數據結構與算法代碼C++\Chap9_hash\hash_tomb2\HASHDICT.DSP
?????文件????????541??2003-11-02?16:45??數據結構與算法代碼C++\Chap9_hash\hash_tomb2\HASHDICT.DSW
?????文件???????1548??2003-12-10?11:08??數據結構與算法代碼C++\Chap9_hash\hash_tomb2\HASHDICT.H
?????文件????????325??2003-12-10?11:04??數據結構與算法代碼C++\Chap9_hash\hash_tomb2\Int.h
?????文件???????2354??2004-01-14?16:26??數據結構與算法代碼C++\Chap9_hash\hash_tomb\HASHDICT.CPP
?????文件???????3488??2003-11-02?16:45??數據結構與算法代碼C++\Chap9_hash\hash_tomb\HASHDICT.DSP
?????文件????????541??2003-11-02?16:45??數據結構與算法代碼C++\Chap9_hash\hash_tomb\HASHDICT.DSW
?????文件???????1548??2003-12-10?11:05??數據結構與算法代碼C++\Chap9_hash\hash_tomb\HASHDICT.H
?????文件????????325??2003-12-10?11:04??數據結構與算法代碼C++\Chap9_hash\hash_tomb\Int.h
?????文件???????2174??2004-01-14?16:23??數據結構與算法代碼C++\Chap9_hash\hash_dict\HASHDICT.CPP
?????文件???????3488??2003-11-02?16:45??數據結構與算法代碼C++\Chap9_hash\hash_dict\HASHDICT.DSP
?????文件????????541??2003-11-02?16:45??數據結構與算法代碼C++\Chap9_hash\hash_dict\HASHDICT.DSW
?????文件???????1500??2003-12-10?11:21??數據結構與算法代碼C++\Chap9_hash\hash_dict\HASHDICT.H
?????文件????????325??2003-12-10?10:59??數據結構與算法代碼C++\Chap9_hash\hash_dict\Int.h
?????文件???????2382??2004-01-14?16:27??數據結構與算法代碼C++\Chap9_hash\algor1-3\algor1&2.cpp
?????文件???????3427??2003-12-09?20:55??數據結構與算法代碼C++\Chap9_hash\algor1-3\algor1&2.dsp
?????文件????????541??2003-10-28?16:52??數據結構與算法代碼C++\Chap9_hash\algor1-3\algor1&2.dsw
?????文件?????565925??2003-05-10?16:39??數據結構與算法代碼C++\Chap8_ExtSort\ReplaceSelection\InputData.txt
?????文件????????109??2003-07-07?17:42??數據結構與算法代碼C++\Chap8_ExtSort\ReplaceSelection\OutputData.txt
?????文件????????724??2003-07-07?17:42??數據結構與算法代碼C++\Chap8_ExtSort\ReplaceSelection\replaceSelection.cpp
?????文件???????3484??2003-05-16?15:49??數據結構與算法代碼C++\Chap8_ExtSort\ReplaceSelection\replaceSelection.dsp
?????文件????????557??2003-05-05?15:42??數據結構與算法代碼C++\Chap8_ExtSort\ReplaceSelection\replaceSelection.dsw
?????文件???????7249??2003-07-07?17:42??數據結構與算法代碼C++\Chap8_ExtSort\ReplaceSelection\replaceSelection.h
?????文件??????56672??2004-01-07?20:45??數據結構與算法代碼C++\Chap8_ExtSort\LoserTree\0.txt
?????文件???????5667??2003-05-10?22:17??數據結構與算法代碼C++\Chap8_ExtSort\LoserTree\1.txt
............此處省略215個文件信息
- 上一篇:HT1622控制代碼
- 下一篇:TCP/IP網絡程序設計-多人聊天系統
評論
共有 條評論