鄰接矩陣類的根是A d j a c e n c y W D i g r a p h,因此從這個類開始。程序1 2 - 1給出了類的描述。程
序中,先用程序1 - 1 3中函數Make2DArray 為二組數組a 分配空間,然后對數組a 初始化,以描述
一個n 頂點、沒有邊的圖的鄰接矩陣,其復雜性為( n2 )。該代碼沒有捕獲可能由M a k e 2 D A r r a y
引發的異常。在析構函數中調用了程序1 - 1 4中的二維數組釋放函數D e l e t e 2 D
Contents at a Glance
Introduction 1
PART I INSTALLATION AND CONFIGURATION 5
Hour 1 Preparing to Install Linux 7
2 Installing Linux 23
3 Post-Installation Issues 41
PART II LEARNING LINUX BASICS 67
Hour 4 Reading and Navigation Commands 69
5 Manipulation and Searching Commands 93
6 Using the Shell 117
7 Using the X Window System 143
8 Exploring the K Desktop Environment 177
PART III CONNECTING TO THE OUTSIDE WORLD 197
Hour 9 Using Communications Programs 199
10 Connecting to the Internet 223
11 Configuring Internet Email 249
12 Configuring Internet News 269
13 Internet Downloading and Browsing 289