30.07.2013 Views

Visual Basic.NET How to Program (PDF)

Visual Basic.NET How to Program (PDF)

Visual Basic.NET How to Program (PDF)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

XXXII Illustrations<br />

22 Networking: Streams-Based Sockets and Datagrams<br />

22.1 Server portion of a client/server stream-socket connection. 1101<br />

22.2 Client portion of a client/server stream-socket connection. 1104<br />

22.3 Server-side portion of connectionless client/server computing. 1110<br />

22.4 Client-side portion of connectionless client/server computing. 1112<br />

22.5 Server side of client/server Tic-Tac-Toe program. 1116<br />

22.6 CPlayer class represents a Tic-Tac-Toe player. 1119<br />

22.7 Client side of client/server Tic-Tac-Toe program. 1122<br />

22.8 CSquare class represents a square on the Tic-Tac-Toe board. 1128<br />

22.9 English letters of the alphabet and decimal digits as expressed<br />

in international Morse code. 1135<br />

23 Data Structures and Collections<br />

23.1 Self-referential CNode class definition. 1138<br />

23.2 Self-referential class objects linked <strong>to</strong>gether. 1139<br />

23.3 Linked-list graphical representation. 1141<br />

23.4 Self-referential class CListNode. 1141<br />

23.5 Linked-list CList class. 1142<br />

23.6 Exception thrown when removing node from empty linked list. 1145<br />

23.7 Linked-list demonstration. 1146<br />

23.8 InsertAtFront graphical representation. 1148<br />

23.9 InsertAtBack graphical representation. 1149<br />

23.10 RemoveFromFront graphical representation. 1150<br />

23.11 RemoveFromBack graphical representation. 1151<br />

23.12 Stack implementation by inheritance from class CList. 1153<br />

23.13 Stack-by-inheritance test. 1154<br />

23.14 Stack-by-composition test. 1155<br />

23.15 Queue implemented by inheritance from class CList. 1157<br />

23.16 Queue-by-inheritance test. 1158<br />

23.17 Binary tree graphical representation. 1160<br />

23.18 Binary search tree containing 12 values. 1160<br />

23.19 Tree-node data structure. 1162<br />

23.20 Tree data structure. 1163<br />

23.21 Tree-traversal demonstration. 1166<br />

23.22 A binary search tree. 1167<br />

23.23 Tree node contains IComparables as data. 1169<br />

23.24 Binary tree s<strong>to</strong>res nodes with IComparable data. 1171<br />

23.25 IComparable binary-tree demonstration. 1173<br />

23.26 Array class demonstration. 1176<br />

23.27 ArrayList methods (partial list). 1180<br />

23.28 ArrayList class demonstration. 1180<br />

23.29 Stack class demonstration. 1185<br />

23.30 Hashtable class demonstration. 1190<br />

23.31 CEmployee class. 1194

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!