home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: DiskDupe Disk Image
(archive/diskDupeDiskImage).
You can browse this item here: 1.ddi
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 49 4d 00 00 00 00 00 00 | 00 00 01 00 00 00 00 00 |IM......|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 01 01 00 00 | 00 01 01 02 00 00 00 01 |........|........|
|00000070| 01 03 00 00 00 01 01 04 | 00 00 00 01 01 05 00 00 |........|........|
|00000080| 00 01 01 06 00 00 00 01 | 01 07 00 00 00 01 01 08 |........|........|
|00000090| 00 00 00 01 01 09 00 00 | 00 01 01 0a 00 00 00 01 |........|........|
|000000a0| 01 0b 00 00 00 01 01 0c | 00 00 00 01 01 0d 00 00 |........|........|
|000000b0| 00 01 01 0e 00 00 00 01 | 01 0f 00 00 00 01 01 10 |........|........|
|000000c0| 00 00 00 01 01 11 00 00 | 00 01 01 12 00 00 00 01 |........|........|
|000000d0| 01 13 00 00 00 01 01 14 | 00 00 00 01 01 15 00 00 |........|........|
|000000e0| 00 01 01 16 00 00 00 01 | 01 17 00 00 00 01 01 18 |........|........|
|000000f0| 00 00 00 01 01 19 00 00 | 00 01 01 1a 00 00 00 01 |........|........|
|00000100| 01 1b 00 00 00 01 01 1c | 00 00 00 01 01 1d 00 00 |........|........|
|00000110| 00 01 01 1e 00 00 00 01 | 01 1f 00 00 00 01 01 20 |........|....... |
|00000120| 00 00 00 01 01 21 00 00 | 00 01 01 22 00 00 00 01 |.....!..|..."....|
|00000130| 01 23 00 00 00 01 01 24 | 00 00 00 01 01 25 00 00 |.#.....$|.....%..|
|00000140| 00 01 01 26 00 00 00 01 | 01 27 00 00 00 01 01 28 |...&....|.'.....(|
|00000150| 00 00 00 01 01 29 00 00 | 00 01 01 2a 00 00 00 01 |.....)..|...*....|
|00000160| 01 2b 00 00 00 01 01 2c | 00 00 00 01 01 2d 00 00 |.+.....,|.....-..|
|00000170| 00 01 01 2e 00 00 00 01 | 01 2f 00 00 00 01 01 30 |........|./.....0|
|00000180| 00 00 00 01 01 31 00 00 | 00 01 01 32 00 00 00 01 |.....1..|...2....|
|00000190| 01 33 00 00 00 01 01 34 | 00 00 00 01 01 35 00 00 |.3.....4|.....5..|
|000001a0| 00 01 01 36 00 00 00 01 | 01 37 00 00 00 01 01 38 |...6....|.7.....8|
|000001b0| 00 00 00 01 01 39 00 00 | 00 01 00 00 00 00 00 00 |.....9..|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001200| eb 29 90 49 42 4d 20 20 | 33 2e 31 00 02 02 01 00 |.).IBM |3.1.....|
|00001210| 02 70 00 d0 02 fd 02 00 | 09 00 02 00 00 00 00 00 |.p......|........|
|00001220| 00 00 00 00 0f 00 00 00 | 00 01 00 fa 33 c0 8e d0 |........|....3...|
|00001230| bc 00 7c 16 07 bb 78 00 | 36 c5 37 1e 56 16 53 bf |..|...x.|6.7.V.S.|
|00001240| 20 7c b9 0b 00 fc ac 26 | 80 3d 00 74 03 26 8a 05 | |.....&|.=.t.&..|
|00001250| aa 8a c4 e2 f1 06 1f 89 | 47 02 c7 07 20 7c fb cd |........|G... |..|
|00001260| 13 72 67 a0 10 7c 98 f7 | 26 16 7c 03 06 1c 7c 03 |.rg..|..|&.|...|.|
|00001270| 06 0e 7c a3 34 7c a3 2c | 7c b8 20 00 f7 26 11 7c |..|.4|.,||. ..&.||
|00001280| 8b 1e 0b 7c 03 c3 48 f7 | f3 01 06 2c 7c bb 00 05 |...|..H.|...,|...|
|00001290| a1 34 7c e8 96 00 b8 01 | 02 e8 aa 00 72 19 8b fb |.4|.....|....r...|
|000012a0| b9 0b 00 be be 7d f3 a6 | 75 0d 8d 7f 20 be c9 7d |.....}..|u... ..}|
|000012b0| b9 0b 00 f3 a6 74 18 be | 5f 7d e8 61 00 32 e4 cd |.....t..|_}.a.2..|
|000012c0| 16 5e 1f 8f 04 8f 44 02 | cd 19 be a8 7d eb eb a1 |.^....D.|....}...|
|000012d0| 1c 05 33 d2 f7 36 0b 7c | fe c0 a2 31 7c a1 2c 7c |..3..6.||...1|.,||
|000012e0| a3 32 7c bb 00 07 a1 2c | 7c e8 40 00 a1 18 7c 2a |.2|....,||.@...|*|
|000012f0| 06 30 7c 40 50 e8 4e 00 | 58 72 cf 28 06 31 7c 76 |.0|@P.N.|Xr.(.1|v|
|00001300| 0c 01 06 2c 7c f7 26 0b | 7c 03 d8 eb d9 8a 2e 15 |...,|.&.||.......|
|00001310| 7c 8a 16 1e 7c 8b 1e 32 | 7c ea 00 00 70 00 ac 0a ||...|..2||...p...|
|00001320| c0 74 22 b4 0e bb 07 00 | cd 10 eb f2 33 d2 f7 36 |.t".....|....3..6|
|00001330| 18 7c fe c2 88 16 30 7c | 33 d2 f7 36 1a 7c 88 16 |.|....0||3..6.|..|
|00001340| 1f 7c a3 2e 7c c3 b4 02 | 8b 16 2e 7c b1 06 d2 e6 |.|..|...|...|....|
|00001350| 0a 36 30 7c 8b ca 86 e9 | 8b 16 1e 7c cd 13 c3 0d |.60|....|...|....|
|00001360| 0a 4e 6f 6e 2d 53 79 73 | 74 65 6d 20 64 69 73 6b |.Non-Sys|tem disk|
|00001370| 20 6f 72 20 64 69 73 6b | 20 65 72 72 6f 72 0d 0a | or disk| error..|
|00001380| 52 65 70 6c 61 63 65 20 | 61 6e 64 20 73 74 72 69 |Replace |and stri|
|00001390| 6b 65 20 61 6e 79 20 6b | 65 79 20 77 68 65 6e 20 |ke any k|ey when |
|000013a0| 72 65 61 64 79 0d 0a 00 | 0d 0a 44 69 73 6b 20 42 |ready...|..Disk B|
|000013b0| 6f 6f 74 20 66 61 69 6c | 75 72 65 0d 0a 00 49 42 |oot fail|ure...IB|
|000013c0| 4d 42 49 4f 20 20 43 4f | 4d 49 42 4d 44 4f 53 20 |MBIO CO|MIBMDOS |
|000013d0| 20 43 4f 4d 00 00 00 00 | 00 00 00 00 00 00 00 00 | COM....|........|
|000013e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 55 aa |........|......U.|
|00001400| fd ff ff 03 f0 ff 05 60 | 00 ff 8f 00 ff af 00 0b |.......`|........|
|00001410| c0 00 ff ef 00 ff 0f 01 | 11 20 01 ff ff ff 15 f0 |........|. ......|
|00001420| ff 17 f0 ff 19 a0 01 ff | cf 01 1d f0 ff 1f f0 ff |........|........|
|00001430| 21 20 02 ff 4f 02 ff 6f | 02 27 80 02 ff af 02 2b |! ..O..o|.'.....+|
|00001440| c0 02 ff ff ff ff 0f 03 | 31 20 03 ff ff ff 35 60 |........|1 ....5`|
|00001450| 03 37 f0 ff 39 f0 ff 3b | c0 03 3d f0 ff 3f f0 ff |.7..9..;|..=..?..|
|00001460| 41 20 04 ff 4f 04 45 60 | 04 ff 8f 04 ff af 04 ff |A ..O.E`|........|
|00001470| cf 04 4d e0 04 ff 0f 05 | 51 f0 ff ff 4f 05 55 f0 |..M.....|Q...O.U.|
|00001480| ff 57 80 05 59 a0 05 5b | c0 05 ff ff ff 5f 00 06 |.W..Y..[|....._..|
|00001490| 61 f0 ff ff 4f 06 65 60 | 06 ff 8f 06 ff af 06 ff |a...O.e`|........|
|000014a0| ff ff 6d e0 06 6f f0 ff | 71 20 07 ff 4f 07 75 60 |..m..o..|q ..O.u`|
|000014b0| 07 77 f0 ff ff af 07 7b | f0 ff 7d e0 07 7f 00 08 |.w.....{|..}.....|
|000014c0| 81 20 08 83 f0 ff 85 60 | 08 87 f0 ff 89 a0 08 8b |. .....`|........|
|000014d0| c0 08 ff ef 08 8f 00 09 | 91 f0 ff 93 f0 ff 95 60 |........|.......`|
|000014e0| 09 ff 8f 09 99 a0 09 ff | cf 09 9d e0 09 9f 00 0a |........|........|
|000014f0| a1 20 0a ff ff ff a5 f0 | ff a7 80 0a a9 f0 ff ff |. ......|........|
|00001500| cf 0a ad f0 ff af 00 0b | b1 f0 ff b3 40 0b ff 6f |........|....@..o|
|00001510| 0b b7 f0 ff b9 a0 0b bb | f0 ff bd e0 0b bf 00 0c |........|........|
|00001520| ff 2f 0c c3 f0 ff c5 60 | 0c ff 8f 0c c9 a0 0c cb |./.....`|........|
|00001530| c0 0c cd e0 0c cf 00 0d | d1 20 0d ff 4f 0d d5 f0 |........|. ..O...|
|00001540| ff d7 f0 ff d9 a0 0d ff | cf 0d dd f0 ff df 00 0e |........|........|
|00001550| ff 2f 0e e3 40 0e e5 f0 | ff e7 80 0e ff af 0e ff |./..@...|........|
|00001560| cf 0e ff ff ff ef 00 0f | ff 2f 0f f3 40 0f f5 60 |........|./..@..`|
|00001570| 0f f7 80 0f f9 f0 ff 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001800| fd ff ff 03 f0 ff 05 60 | 00 ff 8f 00 ff af 00 0b |.......`|........|
|00001810| c0 00 ff ef 00 ff 0f 01 | 11 20 01 ff ff ff 15 f0 |........|. ......|
|00001820| ff 17 f0 ff 19 a0 01 ff | cf 01 1d f0 ff 1f f0 ff |........|........|
|00001830| 21 20 02 ff 4f 02 ff 6f | 02 27 80 02 ff af 02 2b |! ..O..o|.'.....+|
|00001840| c0 02 ff ff ff ff 0f 03 | 31 20 03 ff ff ff 35 60 |........|1 ....5`|
|00001850| 03 37 f0 ff 39 f0 ff 3b | c0 03 3d f0 ff 3f f0 ff |.7..9..;|..=..?..|
|00001860| 41 20 04 ff 4f 04 45 60 | 04 ff 8f 04 ff af 04 ff |A ..O.E`|........|
|00001870| cf 04 4d e0 04 ff 0f 05 | 51 f0 ff ff 4f 05 55 f0 |..M.....|Q...O.U.|
|00001880| ff 57 80 05 59 a0 05 5b | c0 05 ff ff ff 5f 00 06 |.W..Y..[|....._..|
|00001890| 61 f0 ff ff 4f 06 65 60 | 06 ff 8f 06 ff af 06 ff |a...O.e`|........|
|000018a0| ff ff 6d e0 06 6f f0 ff | 71 20 07 ff 4f 07 75 60 |..m..o..|q ..O.u`|
|000018b0| 07 77 f0 ff ff af 07 7b | f0 ff 7d e0 07 7f 00 08 |.w.....{|..}.....|
|000018c0| 81 20 08 83 f0 ff 85 60 | 08 87 f0 ff 89 a0 08 8b |. .....`|........|
|000018d0| c0 08 ff ef 08 8f 00 09 | 91 f0 ff 93 f0 ff 95 60 |........|.......`|
|000018e0| 09 ff 8f 09 99 a0 09 ff | cf 09 9d e0 09 9f 00 0a |........|........|
|000018f0| a1 20 0a ff ff ff a5 f0 | ff a7 80 0a a9 f0 ff ff |. ......|........|
|00001900| cf 0a ad f0 ff af 00 0b | b1 f0 ff b3 40 0b ff 6f |........|....@..o|
|00001910| 0b b7 f0 ff b9 a0 0b bb | f0 ff bd e0 0b bf 00 0c |........|........|
|00001920| ff 2f 0c c3 f0 ff c5 60 | 0c ff 8f 0c c9 a0 0c cb |./.....`|........|
|00001930| c0 0c cd e0 0c cf 00 0d | d1 20 0d ff 4f 0d d5 f0 |........|. ..O...|
|00001940| ff d7 f0 ff d9 a0 0d ff | cf 0d dd f0 ff df 00 0e |........|........|
|00001950| ff 2f 0e e3 40 0e e5 f0 | ff e7 80 0e ff af 0e ff |./..@...|........|
|00001960| cf 0e ff ff ff ef 00 0f | ff 2f 0f f3 40 0f f5 60 |........|./..@..`|
|00001970| 0f f7 80 0f f9 f0 ff 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001c00| 53 54 52 49 50 20 20 20 | 43 20 20 20 00 00 00 00 |STRIP |C ....|
|00001c10| 00 00 00 00 00 00 c0 91 | 33 0f 02 00 7c 04 00 00 |........|3...|...|
|00001c20| 50 52 47 34 5f 32 41 20 | 43 20 20 20 00 00 00 00 |PRG4_2A |C ....|
|00001c30| 00 00 00 00 00 00 c1 91 | 33 0f 04 00 70 0a 00 00 |........|3...p...|
|00001c40| 50 52 47 33 5f 32 42 20 | 43 20 20 20 00 00 00 00 |PRG3_2B |C ....|
|00001c50| 00 00 00 00 00 00 c2 91 | 33 0f 07 00 0a 06 00 00 |........|3.......|
|00001c60| 50 52 47 33 5f 34 20 20 | 43 20 20 20 00 00 00 00 |PRG3_4 |C ....|
|00001c70| 00 00 00 00 00 00 c2 91 | 33 0f 09 00 e8 0d 00 00 |........|3.......|
|00001c80| 50 52 47 33 5f 31 20 20 | 43 20 20 20 00 00 00 00 |PRG3_1 |C ....|
|00001c90| 00 00 00 00 00 00 c3 91 | 33 0f 0d 00 59 05 00 00 |........|3...Y...|
|00001ca0| 50 52 47 35 5f 33 20 20 | 43 20 20 20 00 00 00 00 |PRG5_3 |C ....|
|00001cb0| 00 00 00 00 00 00 c3 91 | 33 0f 0f 00 33 0f 00 00 |........|3...3...|
|00001cc0| 50 52 47 33 5f 38 20 20 | 43 20 20 20 00 00 00 00 |PRG3_8 |C ....|
|00001cd0| 00 00 00 00 00 00 c4 91 | 33 0f 13 00 d6 03 00 00 |........|3.......|
|00001ce0| 50 52 47 33 5f 35 20 20 | 43 20 20 20 00 00 00 00 |PRG3_5 |C ....|
|00001cf0| 00 00 00 00 00 00 c5 91 | 33 0f 14 00 90 07 00 00 |........|3.......|
|00001d00| 50 52 47 33 5f 32 41 20 | 43 20 20 20 00 00 00 00 |PRG3_2A |C ....|
|00001d10| 00 00 00 00 00 00 c5 91 | 33 0f 16 00 81 06 00 00 |........|3.......|
|00001d20| 50 52 47 33 5f 33 41 20 | 43 20 20 20 00 00 00 00 |PRG3_3A |C ....|
|00001d30| 00 00 00 00 00 00 c6 91 | 33 0f 18 00 91 08 00 00 |........|3.......|
|00001d40| 50 52 47 33 5f 33 42 20 | 43 20 20 20 00 00 00 00 |PRG3_3B |C ....|
|00001d50| 00 00 00 00 00 00 c6 91 | 33 0f 1b 00 68 08 00 00 |........|3...h...|
|00001d60| 50 52 47 31 5f 32 41 20 | 43 20 20 20 00 00 00 00 |PRG1_2A |C ....|
|00001d70| 00 00 00 00 00 00 5b ad | 35 0f 1e 00 e6 05 00 00 |......[.|5.......|
|00001d80| 50 52 47 31 5f 32 42 20 | 43 20 20 20 00 00 00 00 |PRG1_2B |C ....|
|00001d90| 00 00 00 00 00 00 6d ad | 35 0f 20 00 2c 0a 00 00 |......m.|5. .,...|
|00001da0| 50 52 47 33 5f 37 41 20 | 43 20 20 20 00 00 00 00 |PRG3_7A |C ....|
|00001db0| 00 00 00 00 00 00 c8 91 | 33 0f 23 00 57 06 00 00 |........|3.#.W...|
|00001dc0| 50 52 47 33 5f 37 42 20 | 43 20 20 20 00 00 00 00 |PRG3_7B |C ....|
|00001dd0| 00 00 00 00 00 00 c9 91 | 33 0f 25 00 59 0c 00 00 |........|3.%.Y...|
|00001de0| 50 52 47 38 5f 34 20 20 | 43 20 20 20 00 00 00 00 |PRG8_4 |C ....|
|00001df0| 00 00 00 00 00 00 ca 91 | 33 0f 29 00 ee 0f 00 00 |........|3.).....|
|00001e00| 4d 41 5a 45 31 20 20 20 | 20 20 20 20 00 00 00 00 |MAZE1 | ....|
|00001e10| 00 00 00 00 00 00 cb 91 | 33 0f 2d 00 db 00 00 00 |........|3.-.....|
|00001e20| 4d 41 5a 45 32 20 20 20 | 20 20 20 20 00 00 00 00 |MAZE2 | ....|
|00001e30| 00 00 00 00 00 00 cb 91 | 33 0f 2e 00 d7 01 00 00 |........|3.......|
|00001e40| 50 52 47 37 5f 34 41 20 | 43 20 20 20 00 00 00 00 |PRG7_4A |C ....|
|00001e50| 00 00 00 00 00 00 cc 91 | 33 0f 2f 00 67 0d 00 00 |........|3./.g...|
|00001e60| 50 52 47 33 5f 36 20 20 | 43 20 20 20 00 00 00 00 |PRG3_6 |C ....|
|00001e70| 00 00 00 00 00 00 cd 91 | 33 0f 33 00 3c 02 00 00 |........|3.3.<...|
|00001e80| 50 52 47 38 5f 33 41 20 | 43 20 20 20 00 00 00 00 |PRG8_3A |C ....|
|00001e90| 00 00 00 00 00 00 ce 91 | 33 0f 34 00 1f 0f 00 00 |........|3.4.....|
|00001ea0| 50 52 47 39 5f 33 20 20 | 50 41 53 20 00 00 00 00 |PRG9_3 |PAS ....|
|00001eb0| 00 00 00 00 00 00 cf 91 | 33 0f 38 00 ad 06 00 00 |........|3.8.....|
|00001ec0| 50 52 47 36 5f 32 20 20 | 43 20 20 20 00 00 00 00 |PRG6_2 |C ....|
|00001ed0| 00 00 00 00 00 00 d0 91 | 33 0f 3a 00 2b 0c 00 00 |........|3.:.+...|
|00001ee0| 50 52 47 34 5f 32 42 20 | 43 20 20 20 00 00 00 00 |PRG4_2B |C ....|
|00001ef0| 00 00 00 00 00 00 d1 91 | 33 0f 3e 00 2c 06 00 00 |........|3.>.,...|
|00001f00| 50 52 47 34 5f 32 43 20 | 43 20 20 20 00 00 00 00 |PRG4_2C |C ....|
|00001f10| 00 00 00 00 00 00 d2 91 | 33 0f 40 00 1b 08 00 00 |........|3.@.....|
|00001f20| 50 52 47 34 5f 32 44 20 | 43 20 20 20 00 00 00 00 |PRG4_2D |C ....|
|00001f30| 00 00 00 00 00 00 d3 91 | 33 0f 43 00 2d 0c 00 00 |........|3.C.-...|
|00001f40| 50 52 47 38 5f 31 20 20 | 43 20 20 20 00 00 00 00 |PRG8_1 |C ....|
|00001f50| 00 00 00 00 00 00 d4 91 | 33 0f 47 00 1a 05 00 00 |........|3.G.....|
|00001f60| 52 45 41 44 20 20 20 20 | 4d 45 20 20 00 00 00 00 |READ |ME ....|
|00001f70| 00 00 00 00 00 00 d5 92 | 33 0f 49 00 fd 05 00 00 |........|3.I.....|
|00001f80| 50 52 47 34 5f 32 45 20 | 43 20 20 20 00 00 00 00 |PRG4_2E |C ....|
|00001f90| 00 00 00 00 00 00 d6 91 | 33 0f 4b 00 42 0c 00 00 |........|3.K.B...|
|00001fa0| 50 52 47 34 5f 32 46 20 | 43 20 20 20 00 00 00 00 |PRG4_2F |C ....|
|00001fb0| 00 00 00 00 00 00 d7 91 | 33 0f 4f 00 61 09 00 00 |........|3.O.a...|
|00001fc0| 50 52 47 35 5f 32 20 20 | 42 41 54 20 00 00 00 00 |PRG5_2 |BAT ....|
|00001fd0| 00 00 00 00 00 00 d8 91 | 33 0f 52 00 c0 00 00 00 |........|3.R.....|
|00001fe0| 50 52 47 34 5f 31 20 20 | 43 20 20 20 00 00 00 00 |PRG4_1 |C ....|
|00001ff0| 00 00 00 00 00 00 d8 91 | 33 0f 53 00 22 0b 00 00 |........|3.S."...|
|00002000| 50 52 47 34 5f 33 20 20 | 43 20 20 20 00 00 00 00 |PRG4_3 |C ....|
|00002010| 00 00 00 00 00 00 d9 91 | 33 0f 56 00 62 18 00 00 |........|3.V.b...|
|00002020| 4d 59 4c 49 42 20 20 20 | 48 20 20 20 00 00 00 00 |MYLIB |H ....|
|00002030| 00 00 00 00 00 00 da 91 | 33 0f 5d 00 c4 01 00 00 |........|3.].....|
|00002040| 50 52 47 37 5f 33 20 20 | 43 20 20 20 00 00 00 00 |PRG7_3 |C ....|
|00002050| 00 00 00 00 00 00 dc 91 | 33 0f 5e 00 78 0c 00 00 |........|3.^.x...|
|00002060| 50 52 47 35 5f 32 20 20 | 43 20 20 20 00 00 00 00 |PRG5_2 |C ....|
|00002070| 00 00 00 00 00 00 dd 91 | 33 0f 62 00 86 02 00 00 |........|3.b.....|
|00002080| 50 52 47 37 5f 34 42 20 | 43 20 20 20 00 00 00 00 |PRG7_4B |C ....|
|00002090| 00 00 00 00 00 00 e0 91 | 33 0f 63 00 ab 0e 00 00 |........|3.c.....|
|000020a0| 50 52 47 31 5f 31 42 20 | 43 20 20 20 00 00 00 00 |PRG1_1B |C ....|
|000020b0| 00 00 00 00 00 00 13 ad | 35 0f 67 00 11 07 00 00 |........|5.g.....|
|000020c0| 50 52 47 31 5f 31 43 20 | 43 20 20 20 00 00 00 00 |PRG1_1C |C ....|
|000020d0| 00 00 00 00 00 00 e2 91 | 33 0f 69 00 4e 04 00 00 |........|3.i.N...|
|000020e0| 50 52 47 31 5f 31 42 20 | 50 52 4a 20 00 00 00 00 |PRG1_1B |PRJ ....|
|000020f0| 00 00 00 00 00 00 b6 ac | 35 0f 6b 00 1d 00 00 00 |........|5.k.....|
|00002100| 50 52 47 38 5f 33 42 20 | 43 20 20 20 00 00 00 00 |PRG8_3B |C ....|
|00002110| 00 00 00 00 00 00 e4 91 | 33 0f 6c 00 4f 0f 00 00 |........|3.l.O...|
|00002120| 50 52 47 38 5f 33 44 20 | 41 53 4d 20 00 00 00 00 |PRG8_3D |ASM ....|
|00002130| 00 00 00 00 00 00 e5 91 | 33 0f 70 00 19 0b 00 00 |........|3.p.....|
|00002140| 50 52 47 38 5f 33 43 20 | 43 20 20 20 00 00 00 00 |PRG8_3C |C ....|
|00002150| 00 00 00 00 00 00 e6 91 | 33 0f 73 00 3b 10 00 00 |........|3.s.;...|
|00002160| 50 52 47 38 5f 33 43 20 | 50 52 4a 20 00 00 00 00 |PRG8_3C |PRJ ....|
|00002170| 00 00 00 00 00 00 e7 91 | 33 0f 78 00 17 00 00 00 |........|3.x.....|
|00002180| 50 52 47 31 5f 31 41 20 | 43 20 20 20 00 00 00 00 |PRG1_1A |C ....|
|00002190| 00 00 00 00 00 00 33 93 | 33 0f 79 00 50 0a 00 00 |......3.|3.y.P...|
|000021a0| 50 52 47 37 5f 35 20 20 | 43 20 20 20 00 00 00 00 |PRG7_5 |C ....|
|000021b0| 00 00 00 00 00 00 ea 91 | 33 0f 7c 00 04 1e 00 00 |........|3.|.....|
|000021c0| 50 52 47 39 5f 32 42 20 | 43 20 20 20 00 00 00 00 |PRG9_2B |C ....|
|000021d0| 00 00 00 00 00 00 eb 91 | 33 0f 84 00 75 0c 00 00 |........|3...u...|
|000021e0| 50 52 47 39 5f 32 41 20 | 43 20 20 20 00 00 00 00 |PRG9_2A |C ....|
|000021f0| 00 00 00 00 00 00 ec 91 | 33 0f 88 00 af 11 00 00 |........|3.......|
|00002200| 50 52 47 39 5f 32 44 20 | 43 20 20 20 00 00 00 00 |PRG9_2D |C ....|
|00002210| 00 00 00 00 00 00 ed 91 | 33 0f 8d 00 ee 13 00 00 |........|3.......|
|00002220| 50 52 47 39 5f 31 20 20 | 43 20 20 20 00 00 00 00 |PRG9_1 |C ....|
|00002230| 00 00 00 00 00 00 ef 91 | 33 0f 92 00 ca 05 00 00 |........|3.......|
|00002240| 50 52 47 39 5f 33 20 20 | 43 20 20 20 00 00 00 00 |PRG9_3 |C ....|
|00002250| 00 00 00 00 00 00 f0 91 | 33 0f 94 00 9a 09 00 00 |........|3.......|
|00002260| 50 52 47 39 5f 32 43 20 | 43 20 20 20 00 00 00 00 |PRG9_2C |C ....|
|00002270| 00 00 00 00 00 00 f2 91 | 33 0f 97 00 4a 0d 00 00 |........|3...J...|
|00002280| 50 52 47 34 5f 32 47 20 | 43 20 20 20 00 00 00 00 |PRG4_2G |C ....|
|00002290| 00 00 00 00 00 00 cf ad | 35 0f 9b 00 21 1f 00 00 |........|5...!...|
|000022a0| 50 52 47 34 5f 32 47 20 | 44 41 54 20 00 00 00 00 |PRG4_2G |DAT ....|
|000022b0| 00 00 00 00 00 00 f4 91 | 33 0f a3 00 fe 00 00 00 |........|3.......|
|000022c0| 50 52 47 38 5f 32 20 20 | 43 20 20 20 00 00 00 00 |PRG8_2 |C ....|
|000022d0| 00 00 00 00 00 00 f6 91 | 33 0f a4 00 27 05 00 00 |........|3...'...|
|000022e0| 53 53 54 41 43 4b 20 20 | 41 53 4d 20 00 00 00 00 |SSTACK |ASM ....|
|000022f0| 00 00 00 00 00 00 f7 91 | 33 0f a6 00 7f 0c 00 00 |........|3.......|
|00002300| 50 52 47 36 5f 31 20 20 | 43 20 20 20 00 00 00 00 |PRG6_1 |C ....|
|00002310| 00 00 00 00 00 00 f8 91 | 33 0f aa 00 fe 01 00 00 |........|3.......|
|00002320| 50 52 47 36 5f 33 20 20 | 43 20 20 20 00 00 00 00 |PRG6_3 |C ....|
|00002330| 00 00 00 00 00 00 fa 91 | 33 0f ab 00 1b 0a 00 00 |........|3.......|
|00002340| 50 52 47 36 5f 34 20 20 | 43 20 20 20 00 00 00 00 |PRG6_4 |C ....|
|00002350| 00 00 00 00 00 00 fb 91 | 33 0f ae 00 16 0c 00 00 |........|3.......|
|00002360| 50 52 47 36 5f 35 20 20 | 43 20 20 20 00 00 00 00 |PRG6_5 |C ....|
|00002370| 00 00 00 00 00 00 fd 91 | 33 0f b2 00 ba 0a 00 00 |........|3.......|
|00002380| 50 52 47 36 5f 36 20 20 | 43 20 20 20 00 00 00 00 |PRG6_6 |C ....|
|00002390| 00 00 00 00 00 00 00 92 | 33 0f b5 00 4c 08 00 00 |........|3...L...|
|000023a0| 50 52 47 36 5f 37 20 20 | 43 20 20 20 00 00 00 00 |PRG6_7 |C ....|
|000023b0| 00 00 00 00 00 00 01 92 | 33 0f b8 00 e3 0e 00 00 |........|3.......|
|000023c0| 50 52 47 36 5f 38 20 20 | 43 20 20 20 00 00 00 00 |PRG6_8 |C ....|
|000023d0| 00 00 00 00 00 00 03 92 | 33 0f bc 00 ac 12 00 00 |........|3.......|
|000023e0| 50 52 47 37 5f 31 20 20 | 43 20 20 20 00 00 00 00 |PRG7_1 |C ....|
|000023f0| 00 00 00 00 00 00 04 92 | 33 0f c1 00 f9 09 00 00 |........|3.......|
|00002400| 50 52 47 37 5f 32 20 20 | 43 20 20 20 00 00 00 00 |PRG7_2 |C ....|
|00002410| 00 00 00 00 00 00 06 92 | 33 0f c4 00 24 08 00 00 |........|3...$...|
|00002420| 4b 4f 50 59 20 20 20 20 | 43 20 20 20 00 00 00 00 |KOPY |C ....|
|00002430| 00 00 00 00 00 00 08 92 | 33 0f c7 00 91 2f 00 00 |........|3..../..|
|00002440| 50 52 47 35 5f 31 31 20 | 43 20 20 20 00 00 00 00 |PRG5_11 |C ....|
|00002450| 00 00 00 00 00 00 09 92 | 33 0f d3 00 63 08 00 00 |........|3...c...|
|00002460| 50 52 47 35 5f 31 20 20 | 43 20 20 20 00 00 00 00 |PRG5_1 |C ....|
|00002470| 00 00 00 00 00 00 0b 92 | 33 0f d6 00 79 07 00 00 |........|3...y...|
|00002480| 50 52 47 35 5f 34 20 20 | 43 20 20 20 00 00 00 00 |PRG5_4 |C ....|
|00002490| 00 00 00 00 00 00 0c 92 | 33 0f d8 00 95 0b 00 00 |........|3.......|
|000024a0| 50 52 47 35 5f 35 20 20 | 43 20 20 20 00 00 00 00 |PRG5_5 |C ....|
|000024b0| 00 00 00 00 00 00 0e 92 | 33 0f db 00 b9 09 00 00 |........|3.......|
|000024c0| 50 52 47 35 5f 36 20 20 | 43 20 20 20 00 00 00 00 |PRG5_6 |C ....|
|000024d0| 00 00 00 00 00 00 a8 ad | 35 0f de 00 fd 08 00 00 |........|5.......|
|000024e0| 50 52 47 35 5f 37 20 20 | 43 20 20 20 00 00 00 00 |PRG5_7 |C ....|
|000024f0| 00 00 00 00 00 00 11 92 | 33 0f e1 00 fb 13 00 00 |........|3.......|
|00002500| 50 52 47 35 5f 31 32 20 | 43 20 20 20 00 00 00 00 |PRG5_12 |C ....|
|00002510| 00 00 00 00 00 00 12 92 | 33 0f e6 00 3d 09 00 00 |........|3...=...|
|00002520| 50 52 47 35 5f 38 20 20 | 43 20 20 20 00 00 00 00 |PRG5_8 |C ....|
|00002530| 00 00 00 00 00 00 14 92 | 33 0f e9 00 82 06 00 00 |........|3.......|
|00002540| 50 52 47 35 5f 31 30 41 | 43 20 20 20 00 00 00 00 |PRG5_10A|C ....|
|00002550| 00 00 00 00 00 00 15 92 | 33 0f eb 00 5c 05 00 00 |........|3...\...|
|00002560| 50 52 47 35 5f 31 30 42 | 43 20 20 20 00 00 00 00 |PRG5_10B|C ....|
|00002570| 00 00 00 00 00 00 17 92 | 33 0f ed 00 fa 01 00 00 |........|3.......|
|00002580| 50 52 47 35 5f 39 20 20 | 43 20 20 20 00 00 00 00 |PRG5_9 |C ....|
|00002590| 00 00 00 00 00 00 18 92 | 33 0f ee 00 5f 08 00 00 |........|3..._...|
|000025a0| 4b 4f 50 59 20 20 20 20 | 44 4f 43 20 00 00 00 00 |KOPY |DOC ....|
|000025b0| 00 00 00 00 00 00 1a 92 | 33 0f f1 00 cb 20 00 00 |........|3.... ..|
|000025c0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000025d0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000025e0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000025f0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002600| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002610| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002620| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002630| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002640| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002650| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002660| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002670| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002680| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002690| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000026a0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000026b0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000026c0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000026d0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000026e0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000026f0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002700| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002710| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002720| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002730| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002740| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002750| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002760| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002770| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002780| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002790| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000027a0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000027b0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000027c0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000027d0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000027e0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000027f0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002800| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002810| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002820| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002830| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002840| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002850| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002860| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002870| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002880| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002890| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000028a0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000028b0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000028c0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000028d0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000028e0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000028f0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002900| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002910| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002920| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002930| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002940| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002950| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002960| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002970| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002980| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002990| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000029a0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000029b0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000029c0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000029d0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000029e0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000029f0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002a00| 2f 2a 50 72 6f 67 72 61 | 6d 20 53 74 72 69 70 20 |/*Progra|m Strip |
|00002a10| 2d 20 43 6f 6e 76 65 72 | 74 20 74 68 65 20 6c 6f |- Conver|t the lo|
|00002a20| 61 64 20 6d 61 70 20 67 | 65 6e 65 72 61 74 65 64 |ad map g|enerated|
|00002a30| 20 62 79 20 54 75 72 62 | 6f 20 43 20 69 6e 74 6f | by Turb|o C into|
|00002a40| 20 61 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | a.. | |
|00002a50| 20 20 20 20 20 20 20 6c | 6f 61 64 20 6d 61 70 20 | l|oad map |
|00002a60| 61 63 63 65 70 74 61 62 | 6c 65 20 74 6f 20 50 68 |acceptab|le to Ph|
|00002a70| 6f 65 6e 69 78 27 73 20 | 50 46 69 78 50 6c 75 73 |oenix's |PFixPlus|
|00002a80| 20 64 65 62 75 67 67 65 | 72 2e 0d 0a 2a 2f 0d 0a | debugge|r...*/..|
|00002a90| 0d 0a 0d 0a 23 69 6e 63 | 6c 75 64 65 20 3c 73 74 |....#inc|lude <st|
|00002aa0| 64 69 6f 2e 68 3e 0d 0a | 0d 0a 23 64 65 66 69 6e |dio.h>..|..#defin|
|00002ab0| 65 20 66 72 6f 6d 20 22 | 50 75 62 6c 69 63 73 20 |e from "|Publics |
|00002ac0| 62 79 20 56 61 6c 75 65 | 22 0d 0a 23 64 65 66 69 |by Value|"..#defi|
|00002ad0| 6e 65 20 74 6f 20 20 20 | 22 50 75 62 6c 69 63 73 |ne to |"Publics|
|00002ae0| 20 62 79 20 4e 61 6d 65 | 20 22 0d 0a 0d 0a 2f 2a | by Name| "..../*|
|00002af0| 70 72 6f 74 6f 74 79 70 | 65 20 64 65 63 6c 61 72 |prototyp|e declar|
|00002b00| 61 74 69 6f 6e 73 2a 2f | 0d 0a 69 6e 74 20 6d 61 |ations*/|..int ma|
|00002b10| 69 6e 20 28 76 6f 69 64 | 29 3b 0d 0a 76 6f 69 64 |in (void|);..void|
|00002b20| 20 72 65 70 6c 61 63 65 | 20 28 63 68 61 72 20 2a | replace| (char *|
|00002b30| 2c 20 63 68 61 72 20 2a | 29 3b 0d 0a 69 6e 74 20 |, char *|);..int |
|00002b40| 69 6e 64 65 78 20 28 63 | 68 61 72 20 2a 2c 20 63 |index (c|har *, c|
|00002b50| 68 61 72 20 2a 29 3b 0d | 0a 0d 0a 2f 2a 4d 61 69 |har *);.|.../*Mai|
|00002b60| 6e 2a 2f 0d 0a 69 6e 74 | 20 6d 61 69 6e 20 28 29 |n*/..int| main ()|
|00002b70| 0d 0a 7b 0d 0a 20 20 20 | 20 20 63 68 61 72 20 62 |..{.. | char b|
|00002b80| 75 66 66 65 72 20 5b 32 | 35 36 5d 3b 0d 0a 20 20 |uffer [2|56];.. |
|00002b90| 20 20 20 69 6e 74 20 6f | 66 66 73 65 74 3b 0d 0a | int o|ffset;..|
|00002ba0| 0d 0a 20 20 20 20 20 77 | 68 69 6c 65 20 28 67 65 |.. w|hile (ge|
|00002bb0| 74 73 20 28 62 75 66 66 | 65 72 29 29 20 7b 0d 0a |ts (buff|er)) {..|
|00002bc0| 20 20 20 20 20 20 20 20 | 20 20 69 66 20 28 28 6f | | if ((o|
|00002bd0| 66 66 73 65 74 20 3d 20 | 69 6e 64 65 78 20 28 62 |ffset = |index (b|
|00002be0| 75 66 66 65 72 2c 20 66 | 72 6f 6d 29 29 20 21 3d |uffer, f|rom)) !=|
|00002bf0| 20 2d 31 29 0d 0a 20 20 | 20 20 20 20 20 20 20 20 | -1).. | |
|00002c00| 20 20 20 20 20 72 65 70 | 6c 61 63 65 20 28 26 62 | rep|lace (&b|
|00002c10| 75 66 66 65 72 20 5b 6f | 66 66 73 65 74 5d 2c 20 |uffer [o|ffset], |
|00002c20| 74 6f 29 3b 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |to);.. | |
|00002c30| 70 75 74 73 20 28 62 75 | 66 66 65 72 29 3b 0d 0a |puts (bu|ffer);..|
|00002c40| 20 20 20 20 20 7d 0d 0a | 7d 0d 0a 0d 0a 2f 2a 52 | }..|}..../*R|
|00002c50| 65 70 6c 61 63 65 20 2d | 20 73 74 6f 72 65 20 73 |eplace -| store s|
|00002c60| 74 72 69 6e 67 32 20 69 | 6e 74 6f 20 73 74 72 69 |tring2 i|nto stri|
|00002c70| 6e 67 31 2a 2f 0d 0a 76 | 6f 69 64 20 72 65 70 6c |ng1*/..v|oid repl|
|00002c80| 61 63 65 20 28 73 74 72 | 69 6e 67 31 2c 20 73 74 |ace (str|ing1, st|
|00002c90| 72 69 6e 67 32 29 0d 0a | 20 20 20 20 20 63 68 61 |ring2)..| cha|
|00002ca0| 72 20 2a 73 74 72 69 6e | 67 31 2c 20 2a 73 74 72 |r *strin|g1, *str|
|00002cb0| 69 6e 67 32 3b 0d 0a 7b | 0d 0a 20 20 20 20 20 77 |ing2;..{|.. w|
|00002cc0| 68 69 6c 65 20 28 2a 73 | 74 72 69 6e 67 32 29 0d |hile (*s|tring2).|
|00002cd0| 0a 20 20 20 20 20 20 20 | 20 20 20 2a 73 74 72 69 |. | *stri|
|00002ce0| 6e 67 31 2b 2b 20 3d 20 | 2a 73 74 72 69 6e 67 32 |ng1++ = |*string2|
|00002cf0| 2b 2b 3b 0d 0a 7d 0d 0a | 0d 0a 2f 2a 49 6e 64 65 |++;..}..|../*Inde|
|00002d00| 78 20 2d 20 66 69 6e 64 | 20 73 74 72 69 6e 67 32 |x - find| string2|
|00002d10| 20 69 6e 20 73 74 72 69 | 6e 67 31 2a 2f 0d 0a 69 | in stri|ng1*/..i|
|00002d20| 6e 74 20 69 6e 64 65 78 | 20 28 73 74 72 31 2c 20 |nt index| (str1, |
|00002d30| 73 74 72 32 29 0d 0a 20 | 20 20 20 20 63 68 61 72 |str2).. | char|
|00002d40| 20 2a 73 74 72 31 2c 20 | 2a 73 74 72 32 3b 0d 0a | *str1, |*str2;..|
|00002d50| 7b 0d 0a 20 20 20 20 20 | 69 6e 74 20 63 6f 75 6e |{.. |int coun|
|00002d60| 74 3b 0d 0a 20 20 20 20 | 20 63 68 61 72 20 2a 74 |t;.. | char *t|
|00002d70| 73 31 2c 20 2a 74 73 32 | 3b 0d 0a 0d 0a 20 20 20 |s1, *ts2|;.... |
|00002d80| 20 20 66 6f 72 20 28 63 | 6f 75 6e 74 20 3d 20 30 | for (c|ount = 0|
|00002d90| 3b 3b 20 63 6f 75 6e 74 | 2b 2b 29 20 7b 0d 0a 20 |;; count|++) {.. |
|00002da0| 20 20 20 20 20 20 20 20 | 20 69 66 20 28 21 2a 73 | | if (!*s|
|00002db0| 74 72 31 29 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |tr1).. | |
|00002dc0| 20 20 20 20 20 62 72 65 | 61 6b 3b 0d 0a 20 20 20 | bre|ak;.. |
|00002dd0| 20 20 20 20 20 20 20 74 | 73 31 20 3d 20 73 74 72 | t|s1 = str|
|00002de0| 31 2b 2b 3b 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |1++;.. | |
|00002df0| 74 73 32 20 3d 20 73 74 | 72 32 3b 0d 0a 20 20 20 |ts2 = st|r2;.. |
|00002e00| 20 20 20 20 20 20 20 77 | 68 69 6c 65 20 28 2a 74 | w|hile (*t|
|00002e10| 73 31 2b 2b 20 3d 3d 20 | 2a 74 73 32 2b 2b 29 0d |s1++ == |*ts2++).|
|00002e20| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00002e30| 69 66 20 28 21 2a 74 73 | 32 29 0d 0a 20 20 20 20 |if (!*ts|2).. |
|00002e40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002e50| 72 65 74 75 72 6e 20 63 | 6f 75 6e 74 3b 0d 0a 20 |return c|ount;.. |
|00002e60| 20 20 20 20 7d 0d 0a 20 | 20 20 20 20 72 65 74 75 | }.. | retu|
|00002e70| 72 6e 20 2d 31 3b 0d 0a | 7d 0d 0a 1a f6 f6 f6 f6 |rn -1;..|}.......|
|00002e80| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002e90| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002ea0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002eb0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002ec0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002ed0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002ee0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002ef0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002f00| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002f10| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002f20| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002f30| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002f40| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002f50| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002f60| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002f70| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002f80| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002f90| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002fa0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002fb0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002fc0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002fd0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002fe0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00002ff0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003000| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003010| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003020| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003030| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003040| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003050| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003060| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003070| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003080| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003090| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000030a0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000030b0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000030c0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000030d0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000030e0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000030f0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003100| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003110| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003120| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003130| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003140| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003150| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003160| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003170| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003180| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003190| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000031a0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000031b0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000031c0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000031d0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000031e0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000031f0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003200| 2f 2a 50 72 6f 67 72 61 | 6d 20 34 5f 32 61 20 2d |/*Progra|m 4_2a -|
|00003210| 20 53 6f 72 74 20 49 52 | 53 20 64 61 74 61 0d 0a | Sort IR|S data..|
|00003220| 20 20 20 62 79 20 53 74 | 65 70 68 65 6e 20 52 2e | by St|ephen R.|
|00003230| 20 44 61 76 69 73 2c 20 | 31 39 38 37 0d 0a 0d 0a | Davis, |1987....|
|00003240| 20 20 41 63 63 65 70 74 | 20 73 65 76 65 72 61 6c | Accept| several|
|00003250| 20 64 69 66 66 65 72 65 | 6e 74 20 74 79 70 65 73 | differe|nt types|
|00003260| 20 6f 66 20 64 61 74 61 | 20 6f 6e 20 69 6e 64 69 | of data| on indi|
|00003270| 76 69 64 75 61 6c 73 20 | 69 6e 20 72 61 6e 64 6f |viduals |in rando|
|00003280| 6d 0d 0a 20 20 6f 72 64 | 65 72 20 61 6e 64 20 73 |m.. ord|er and s|
|00003290| 6f 72 74 20 69 74 2e 20 | 20 54 68 69 73 20 69 6e |ort it. | This in|
|000032a0| 69 74 69 61 6c 20 76 65 | 72 73 69 6f 6e 20 64 65 |itial ve|rsion de|
|000032b0| 66 69 6e 65 73 20 74 68 | 65 20 73 74 72 75 63 74 |fines th|e struct|
|000032c0| 75 72 65 0d 0a 20 20 77 | 65 20 77 69 6c 6c 20 75 |ure.. w|e will u|
|000032d0| 73 65 20 74 6f 20 73 74 | 6f 72 65 20 74 68 65 20 |se to st|ore the |
|000032e0| 64 61 74 61 20 61 6e 64 | 20 70 72 6f 76 69 64 65 |data and| provide|
|000032f0| 73 20 61 20 27 63 72 65 | 61 74 65 28 29 27 20 74 |s a 'cre|ate()' t|
|00003300| 6f 20 67 65 6e 65 72 61 | 74 65 0d 0a 20 20 74 68 |o genera|te.. th|
|00003310| 65 20 65 6e 74 72 69 65 | 73 20 61 6e 64 20 61 6e |e entrie|s and an|
|00003320| 20 27 6f 75 74 70 75 74 | 28 29 27 20 66 75 6e 63 | 'output|()' func|
|00003330| 74 69 6f 6e 20 74 6f 20 | 6f 75 74 70 75 74 20 74 |tion to |output t|
|00003340| 68 65 6d 20 61 67 61 69 | 6e 2e 0d 0a 2a 2f 0d 0a |hem agai|n...*/..|
|00003350| 0d 0a 23 69 6e 63 6c 75 | 64 65 20 3c 73 74 64 69 |..#inclu|de <stdi|
|00003360| 6f 2e 68 3e 0d 0a 23 69 | 6e 63 6c 75 64 65 20 3c |o.h>..#i|nclude <|
|00003370| 63 74 79 70 65 2e 68 3e | 0d 0a 23 69 6e 63 6c 75 |ctype.h>|..#inclu|
|00003380| 64 65 20 3c 61 6c 6c 6f | 63 2e 68 3e 0d 0a 0d 0a |de <allo|c.h>....|
|00003390| 2f 2a 70 72 6f 74 6f 74 | 79 70 65 20 64 65 63 6c |/*protot|ype decl|
|000033a0| 61 72 61 74 69 6f 6e 73 | 20 2d 2d 2a 2f 0d 0a 73 |arations| --*/..s|
|000033b0| 74 72 75 63 74 20 49 52 | 53 64 61 74 61 20 2a 63 |truct IR|Sdata *c|
|000033c0| 72 65 61 74 65 20 28 76 | 6f 69 64 29 3b 0d 0a 76 |reate (v|oid);..v|
|000033d0| 6f 69 64 20 67 65 74 66 | 69 65 6c 64 20 28 63 68 |oid getf|ield (ch|
|000033e0| 61 72 20 2a 2c 20 63 68 | 61 72 20 2a 2c 20 75 6e |ar *, ch|ar *, un|
|000033f0| 73 69 67 6e 65 64 29 3b | 0d 0a 76 6f 69 64 20 6f |signed);|..void o|
|00003400| 75 74 70 75 74 20 28 73 | 74 72 75 63 74 20 49 52 |utput (s|truct IR|
|00003410| 53 64 61 74 61 20 2a 29 | 3b 0d 0a 69 6e 74 20 6d |Sdata *)|;..int m|
|00003420| 61 69 6e 20 28 76 6f 69 | 64 29 3b 0d 0a 0d 0a 2f |ain (voi|d);..../|
|00003430| 2a 73 74 72 75 63 74 75 | 72 65 20 64 65 63 6c 61 |*structu|re decla|
|00003440| 72 61 74 69 6f 6e 20 66 | 6f 72 20 49 52 53 20 64 |ration f|or IRS d|
|00003450| 61 74 61 2a 2f 0d 0a 73 | 74 72 75 63 74 20 49 52 |ata*/..s|truct IR|
|00003460| 53 64 61 74 61 7b 0d 0a | 20 20 20 20 20 20 20 20 |Sdata{..| |
|00003470| 20 20 20 20 20 20 20 63 | 68 61 72 20 6c 61 73 74 | c|har last|
|00003480| 6e 61 6d 65 20 5b 31 31 | 5d 3b 0d 0a 20 20 20 20 |name [11|];.. |
|00003490| 20 20 20 20 20 20 20 20 | 20 20 20 63 68 61 72 20 | | char |
|000034a0| 66 69 72 73 74 6e 61 6d | 65 20 5b 31 31 5d 3b 0d |firstnam|e [11];.|
|000034b0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000034c0| 63 68 61 72 20 73 65 78 | 3b 0d 0a 20 20 20 20 20 |char sex|;.. |
|000034d0| 20 20 20 20 20 20 20 20 | 20 20 73 74 72 75 63 74 | | struct|
|000034e0| 20 7b 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | {.. | |
|000034f0| 20 20 20 20 20 20 20 20 | 20 20 20 63 68 61 72 20 | | char |
|00003500| 73 74 72 65 65 74 20 5b | 31 36 5d 3b 0d 0a 20 20 |street [|16];.. |
|00003510| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003520| 20 20 20 20 20 63 68 61 | 72 20 63 69 74 79 20 5b | cha|r city [|
|00003530| 31 31 5d 3b 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |11];.. | |
|00003540| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 63 68 61 | | cha|
|00003550| 72 20 73 74 61 74 65 20 | 5b 33 5d 3b 0d 0a 20 20 |r state |[3];.. |
|00003560| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003570| 20 20 20 20 7d 20 61 64 | 64 72 65 73 73 3b 0d 0a | } ad|dress;..|
|00003580| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 63 | | c|
|00003590| 68 61 72 20 73 73 6e 75 | 6d 20 5b 31 30 5d 3b 0d |har ssnu|m [10];.|
|000035a0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000035b0| 69 6e 74 20 74 61 78 72 | 61 74 65 3b 0d 0a 20 20 |int taxr|ate;.. |
|000035c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 7d 3b 0d 0a | | };..|
|000035d0| 63 68 61 72 20 62 75 66 | 66 65 72 20 5b 32 35 36 |char buf|fer [256|
|000035e0| 5d 3b 0d 0a 0d 0a 2f 2a | 43 72 65 61 74 65 20 2d |];..../*|Create -|
|000035f0| 20 61 6c 6c 6f 63 61 74 | 65 20 61 6e 20 49 52 53 | allocat|e an IRS|
|00003600| 64 61 74 61 20 65 6e 74 | 72 79 20 61 6e 64 20 66 |data ent|ry and f|
|00003610| 69 6c 6c 20 69 6e 20 74 | 68 65 20 64 61 74 61 20 |ill in t|he data |
|00003620| 66 72 6f 6d 20 27 73 74 | 64 69 6e 27 2a 2f 0d 0a |from 'st|din'*/..|
|00003630| 73 74 72 75 63 74 20 49 | 52 53 64 61 74 61 20 2a |struct I|RSdata *|
|00003640| 20 63 72 65 61 74 65 20 | 28 29 0d 0a 7b 0d 0a 20 | create |()..{.. |
|00003650| 20 20 20 63 68 61 72 20 | 61 6e 73 77 65 72 20 5b | char |answer [|
|00003660| 32 5d 3b 0d 0a 20 20 20 | 20 73 74 72 75 63 74 20 |2];.. | struct |
|00003670| 49 52 53 64 61 74 61 20 | 2a 70 74 72 3b 0d 0a 0d |IRSdata |*ptr;...|
|00003680| 0a 20 20 20 20 67 65 74 | 66 69 65 6c 64 20 28 22 |. get|field ("|
|00003690| 41 6e 6f 74 68 65 72 20 | 65 6e 74 72 79 3f 20 22 |Another |entry? "|
|000036a0| 2c 20 61 6e 73 77 65 72 | 2c 20 31 29 3b 0d 0a 20 |, answer|, 1);.. |
|000036b0| 20 20 20 69 66 20 28 74 | 6f 6c 6f 77 65 72 20 28 | if (t|olower (|
|000036c0| 61 6e 73 77 65 72 20 5b | 30 5d 29 20 3d 3d 20 27 |answer [|0]) == '|
|000036d0| 6e 27 29 0d 0a 20 20 20 | 20 20 20 20 20 20 72 65 |n').. | re|
|000036e0| 74 75 72 6e 20 4e 55 4c | 4c 3b 0d 0a 0d 0a 20 20 |turn NUL|L;.... |
|000036f0| 20 20 69 66 20 28 70 74 | 72 20 3d 20 28 73 74 72 | if (pt|r = (str|
|00003700| 75 63 74 20 49 52 53 64 | 61 74 61 20 2a 29 6d 61 |uct IRSd|ata *)ma|
|00003710| 6c 6c 6f 63 20 28 73 69 | 7a 65 6f 66 28 73 74 72 |lloc (si|zeof(str|
|00003720| 75 63 74 20 49 52 53 64 | 61 74 61 29 29 29 20 7b |uct IRSd|ata))) {|
|00003730| 0d 0a 20 20 20 20 20 20 | 20 20 20 67 65 74 66 69 |.. | getfi|
|00003740| 65 6c 64 20 28 22 45 6e | 74 65 72 20 6c 61 73 74 |eld ("En|ter last|
|00003750| 20 6e 61 6d 65 3a 20 20 | 20 20 22 2c 20 70 74 72 | name: | ", ptr|
|00003760| 20 2d 3e 20 6c 61 73 74 | 6e 61 6d 65 2c 20 31 30 | -> last|name, 10|
|00003770| 29 3b 0d 0a 20 20 20 20 | 20 20 20 20 20 67 65 74 |);.. | get|
|00003780| 66 69 65 6c 64 20 28 22 | 20 20 20 20 20 20 66 69 |field ("| fi|
|00003790| 72 73 74 20 6e 61 6d 65 | 3a 20 20 20 22 2c 20 70 |rst name|: ", p|
|000037a0| 74 72 20 2d 3e 20 66 69 | 72 73 74 6e 61 6d 65 2c |tr -> fi|rstname,|
|000037b0| 20 31 30 29 3b 0d 0a 20 | 20 20 20 20 20 20 20 20 | 10);.. | |
|000037c0| 67 65 74 66 69 65 6c 64 | 20 28 22 20 20 20 20 20 |getfield| (" |
|000037d0| 20 73 74 72 65 65 74 20 | 61 64 64 72 3a 20 20 22 | street |addr: "|
|000037e0| 2c 20 70 74 72 20 2d 3e | 20 61 64 64 72 65 73 73 |, ptr ->| address|
|000037f0| 2e 73 74 72 65 65 74 2c | 20 31 35 29 3b 0d 0a 20 |.street,| 15);.. |
|00003800| 20 20 20 20 20 20 20 20 | 67 65 74 66 69 65 6c 64 | |getfield|
|00003810| 20 28 22 20 20 20 20 20 | 20 63 69 74 79 20 61 64 | (" | city ad|
|00003820| 64 72 65 73 73 3a 20 22 | 2c 20 70 74 72 20 2d 3e |dress: "|, ptr ->|
|00003830| 20 61 64 64 72 65 73 73 | 2e 63 69 74 79 2c 20 31 | address|.city, 1|
|00003840| 30 29 3b 0d 0a 20 20 20 | 20 20 20 20 20 20 67 65 |0);.. | ge|
|00003850| 74 66 69 65 6c 64 20 28 | 22 20 20 20 20 20 20 73 |tfield (|" s|
|00003860| 74 61 74 65 20 28 32 20 | 6c 74 72 29 3a 22 2c 20 |tate (2 |ltr):", |
|00003870| 70 74 72 20 2d 3e 20 61 | 64 64 72 65 73 73 2e 73 |ptr -> a|ddress.s|
|00003880| 74 61 74 65 2c 20 32 29 | 3b 0d 0a 20 20 20 20 20 |tate, 2)|;.. |
|00003890| 20 20 20 20 67 65 74 66 | 69 65 6c 64 20 28 22 20 | getf|ield (" |
|000038a0| 20 20 20 20 20 73 6f 63 | 20 73 65 63 20 23 3a 20 | soc| sec #: |
|000038b0| 20 20 20 22 2c 20 70 74 | 72 20 2d 3e 20 73 73 6e | ", pt|r -> ssn|
|000038c0| 75 6d 2c 20 39 29 3b 0d | 0a 20 20 20 20 20 20 20 |um, 9);.|. |
|000038d0| 20 20 70 72 69 6e 74 66 | 20 20 20 28 22 20 20 20 | printf| (" |
|000038e0| 20 20 20 74 61 78 20 62 | 72 61 63 6b 65 74 3a 20 | tax b|racket: |
|000038f0| 20 22 29 3b 0d 0a 0d 0a | 20 20 20 20 20 20 20 20 | ");....| |
|00003900| 20 67 65 74 73 20 28 62 | 75 66 66 65 72 29 3b 0d | gets (b|uffer);.|
|00003910| 0a 20 20 20 20 20 20 20 | 20 20 73 73 63 61 6e 66 |. | sscanf|
|00003920| 20 28 62 75 66 66 65 72 | 2c 20 22 25 64 22 2c 20 | (buffer|, "%d", |
|00003930| 26 28 70 74 72 20 2d 3e | 20 74 61 78 72 61 74 65 |&(ptr ->| taxrate|
|00003940| 29 29 3b 0d 0a 20 20 20 | 20 20 20 20 20 20 70 72 |));.. | pr|
|00003950| 69 6e 74 66 20 28 22 5c | 6e 22 29 3b 0d 0a 20 20 |intf ("\|n");.. |
|00003960| 20 20 7d 20 65 6c 73 65 | 20 7b 0d 0a 20 20 20 20 | } else| {.. |
|00003970| 20 20 20 20 20 70 72 69 | 6e 74 66 20 28 22 53 6f | pri|ntf ("So|
|00003980| 72 72 79 2e 20 20 4e 6f | 20 6d 6f 72 65 20 72 6f |rry. No| more ro|
|00003990| 6f 6d 20 66 6f 72 20 64 | 61 74 61 2e 5c 6e 22 29 |om for d|ata.\n")|
|000039a0| 3b 0d 0a 20 20 20 20 7d | 0d 0a 0d 0a 20 20 20 20 |;.. }|.... |
|000039b0| 72 65 74 75 72 6e 20 28 | 70 74 72 29 3b 0d 0a 7d |return (|ptr);..}|
|000039c0| 0d 0a 0d 0a 2f 2a 47 65 | 74 46 69 65 6c 64 20 2d |..../*Ge|tField -|
|000039d0| 20 70 6f 73 65 20 61 20 | 71 75 65 73 74 69 6f 6e | pose a |question|
|000039e0| 2c 20 74 68 65 6e 20 67 | 65 74 20 61 6e 20 61 6e |, then g|et an an|
|000039f0| 73 77 65 72 2e 20 20 53 | 61 76 65 20 75 70 20 74 |swer. S|ave up t|
|00003a00| 6f 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |o.. | |
|00003a10| 27 73 69 7a 65 27 20 63 | 68 61 72 61 63 74 65 72 |'size' c|haracter|
|00003a20| 73 2a 2f 0d 0a 76 6f 69 | 64 20 67 65 74 66 69 65 |s*/..voi|d getfie|
|00003a30| 6c 64 20 28 71 75 65 73 | 74 69 6f 6e 2c 20 61 6e |ld (ques|tion, an|
|00003a40| 73 77 65 72 2c 20 73 69 | 7a 65 29 0d 0a 20 20 20 |swer, si|ze).. |
|00003a50| 20 63 68 61 72 20 2a 71 | 75 65 73 74 69 6f 6e 2c | char *q|uestion,|
|00003a60| 2a 61 6e 73 77 65 72 3b | 0d 0a 20 20 20 20 75 6e |*answer;|.. un|
|00003a70| 73 69 67 6e 65 64 20 73 | 69 7a 65 3b 0d 0a 7b 0d |signed s|ize;..{.|
|00003a80| 0a 20 20 20 20 75 6e 73 | 69 67 6e 65 64 20 69 3b |. uns|igned i;|
|00003a90| 0d 0a 0d 0a 20 20 20 20 | 70 72 69 6e 74 66 20 28 |.... |printf (|
|00003aa0| 71 75 65 73 74 69 6f 6e | 29 3b 0d 0a 20 20 20 20 |question|);.. |
|00003ab0| 77 68 69 6c 65 20 28 21 | 67 65 74 73 20 28 62 75 |while (!|gets (bu|
|00003ac0| 66 66 65 72 29 29 3b 0d | 0a 20 20 20 20 66 6f 72 |ffer));.|. for|
|00003ad0| 20 28 69 20 3d 20 30 3b | 20 73 69 7a 65 3b 20 73 | (i = 0;| size; s|
|00003ae0| 69 7a 65 2d 2d 29 0d 0a | 20 20 20 20 20 20 20 20 |ize--)..| |
|00003af0| 20 2a 61 6e 73 77 65 72 | 2b 2b 20 3d 20 62 75 66 | *answer|++ = buf|
|00003b00| 66 65 72 20 5b 69 2b 2b | 5d 3b 0d 0a 20 20 20 20 |fer [i++|];.. |
|00003b10| 2a 61 6e 73 77 65 72 20 | 3d 20 27 5c 30 27 3b 0d |*answer |= '\0';.|
|00003b20| 0a 7d 0d 0a 0d 0a 2f 2a | 4f 75 74 70 75 74 20 2d |.}..../*|Output -|
|00003b30| 20 6f 75 74 70 75 74 20 | 61 20 73 75 62 73 65 74 | output |a subset|
|00003b40| 20 6f 66 20 49 52 53 64 | 61 74 61 20 73 74 72 75 | of IRSd|ata stru|
|00003b50| 63 74 75 72 65 20 74 6f | 20 27 73 74 64 6f 75 74 |cture to| 'stdout|
|00003b60| 27 2a 2f 0d 0a 76 6f 69 | 64 20 6f 75 74 70 75 74 |'*/..voi|d output|
|00003b70| 20 28 70 74 72 29 0d 0a | 20 20 20 20 73 74 72 75 | (ptr)..| stru|
|00003b80| 63 74 20 49 52 53 64 61 | 74 61 20 2a 70 74 72 3b |ct IRSda|ta *ptr;|
|00003b90| 0d 0a 7b 0d 0a 20 20 20 | 20 69 66 20 28 70 74 72 |..{.. | if (ptr|
|00003ba0| 29 0d 0a 20 20 20 20 20 | 20 20 20 20 70 72 69 6e |).. | prin|
|00003bb0| 74 66 20 28 22 25 73 20 | 25 73 2c 20 25 73 5c 6e |tf ("%s |%s, %s\n|
|00003bc0| 22 2c 20 70 74 72 20 2d | 3e 20 66 69 72 73 74 6e |", ptr -|> firstn|
|00003bd0| 61 6d 65 2c 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |ame,.. | |
|00003be0| 20 20 20 20 20 20 20 20 | 20 20 70 74 72 20 2d 3e | | ptr ->|
|00003bf0| 20 6c 61 73 74 6e 61 6d | 65 2c 20 70 74 72 20 2d | lastnam|e, ptr -|
|00003c00| 3e 20 73 73 6e 75 6d 29 | 3b 0d 0a 7d 0d 0a 0d 0a |> ssnum)|;..}....|
|00003c10| 2f 2a 4d 61 69 6e 20 2d | 20 69 6e 76 6f 6b 65 20 |/*Main -| invoke |
|00003c20| 63 72 65 61 74 65 28 29 | 20 61 6e 64 20 6f 75 74 |create()| and out|
|00003c30| 70 75 74 28 29 20 74 6f | 20 74 65 73 74 20 74 68 |put() to| test th|
|00003c40| 65 6d 2e 2a 2f 0d 0a 6d | 61 69 6e 20 28 29 0d 0a |em.*/..m|ain ()..|
|00003c50| 7b 0d 0a 20 20 20 20 6f | 75 74 70 75 74 20 28 63 |{.. o|utput (c|
|00003c60| 72 65 61 74 65 20 28 29 | 29 3b 0d 0a 7d 0d 0a 1a |reate ()|);..}...|
|00003c70| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003c80| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003c90| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003ca0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003cb0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003cc0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003cd0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003ce0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003cf0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003d00| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003d10| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003d20| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003d30| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003d40| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003d50| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003d60| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003d70| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003d80| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003d90| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003da0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003db0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003dc0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003dd0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003de0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003df0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00003e00| 2f 2a 50 72 6f 67 72 61 | 6d 20 33 5f 32 62 20 2d |/*Progra|m 3_2b -|
|00003e10| 20 50 72 69 6e 74 20 74 | 68 65 20 6e 61 6d 65 73 | Print t|he names|
|00003e20| 20 6f 66 20 74 68 65 20 | 6d 6f 6e 74 68 0d 0a 20 | of the |month.. |
|00003e30| 20 20 20 62 79 20 53 74 | 65 70 68 65 6e 20 52 2e | by St|ephen R.|
|00003e40| 20 44 61 76 69 73 2c 20 | 31 39 38 37 0d 0a 0d 0a | Davis, |1987....|
|00003e50| 20 20 54 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 | The fo|llowing |
|00003e60| 70 72 6f 67 72 61 6d 20 | 64 65 6d 6f 6e 73 74 72 |program |demonstr|
|00003e70| 61 74 65 73 20 69 6e 20 | 61 20 73 69 6d 70 6c 69 |ates in |a simpli|
|00003e80| 73 74 69 63 20 66 61 73 | 68 69 6f 6e 0d 0a 20 20 |stic fas|hion.. |
|00003e90| 74 68 65 20 63 6f 6e 63 | 65 70 74 20 6f 66 20 61 |the conc|ept of a|
|00003ea0| 72 72 61 79 73 20 6f 66 | 20 70 6f 69 6e 74 65 72 |rrays of| pointer|
|00003eb0| 73 2e 20 20 41 6c 6d 6f | 73 74 20 75 6e 6b 6e 6f |s. Almo|st unkno|
|00003ec0| 77 6e 20 69 6e 20 6f 74 | 68 65 72 0d 0a 20 20 6c |wn in ot|her.. l|
|00003ed0| 61 6e 67 75 61 67 65 73 | 2c 20 74 68 69 73 20 63 |anguages|, this c|
|00003ee0| 6f 6e 63 65 70 74 20 63 | 61 6e 20 73 61 76 65 20 |oncept c|an save |
|00003ef0| 6d 75 63 68 20 63 6f 64 | 65 20 62 6f 74 68 20 69 |much cod|e both i|
|00003f00| 6e 20 74 65 72 6d 73 20 | 6f 66 20 73 69 7a 65 0d |n terms |of size.|
|00003f10| 0a 20 20 61 6e 64 20 73 | 70 65 65 64 2e 20 20 43 |. and s|peed. C|
|00003f20| 6f 6d 70 61 72 65 20 74 | 68 69 73 20 70 72 6f 67 |ompare t|his prog|
|00003f30| 72 61 6d 20 74 6f 20 74 | 68 65 20 22 50 61 73 63 |ram to t|he "Pasc|
|00003f40| 61 6c 2d 6c 69 6b 65 22 | 20 50 72 6f 67 72 61 6d |al-like"| Program|
|00003f50| 20 33 5f 32 61 0d 0a 20 | 20 77 68 69 63 68 20 64 | 3_2a.. | which d|
|00003f60| 6f 65 73 20 74 68 65 20 | 73 61 6d 65 20 74 68 69 |oes the |same thi|
|00003f70| 6e 67 2e 20 2a 2f 0d 0a | 0d 0a 23 69 6e 63 6c 75 |ng. */..|..#inclu|
|00003f80| 64 65 20 3c 73 74 64 69 | 6f 2e 68 3e 0d 0a 0d 0a |de <stdi|o.h>....|
|00003f90| 2f 2a 70 72 6f 74 6f 74 | 79 70 65 20 64 65 66 69 |/*protot|ype defi|
|00003fa0| 6e 69 74 69 6f 6e 73 20 | 2d 2d 2a 2f 0d 0a 69 6e |nitions |--*/..in|
|00003fb0| 74 20 6d 61 69 6e 20 28 | 76 6f 69 64 29 3b 0d 0a |t main (|void);..|
|00003fc0| 75 6e 73 69 67 6e 65 64 | 20 70 75 74 6d 6f 6e 74 |unsigned| putmont|
|00003fd0| 68 73 20 28 75 6e 73 69 | 67 6e 65 64 29 3b 0d 0a |hs (unsi|gned);..|
|00003fe0| 0d 0a 2f 2a 61 6e 20 61 | 72 72 61 79 20 6f 66 20 |../*an a|rray of |
|00003ff0| 70 6f 69 6e 74 65 72 73 | 20 74 6f 20 74 68 65 20 |pointers| to the |
|00004000| 6e 61 6d 65 73 20 6f 66 | 20 74 68 65 20 6d 6f 6e |names of| the mon|
|00004010| 74 68 73 2a 2f 0d 0a 63 | 68 61 72 20 2a 6d 6f 6e |ths*/..c|har *mon|
|00004020| 74 68 73 5b 5d 20 3d 20 | 7b 22 42 79 65 20 62 79 |ths[] = |{"Bye by|
|00004030| 65 5c 6e 5c 6e 22 2c 0d | 0a 20 20 20 20 20 20 20 |e\n\n",.|. |
|00004040| 20 20 20 20 20 20 20 20 | 20 20 20 22 4a 61 6e 75 | | "Janu|
|00004050| 61 72 79 5c 6e 5c 6e 22 | 2c 0d 0a 20 20 20 20 20 |ary\n\n"|,.. |
|00004060| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 22 46 65 | | "Fe|
|00004070| 62 72 75 61 72 79 5c 6e | 5c 6e 22 2c 0d 0a 20 20 |bruary\n|\n",.. |
|00004080| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004090| 22 4d 61 72 63 68 5c 6e | 5c 6e 22 2c 0d 0a 20 20 |"March\n|\n",.. |
|000040a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000040b0| 22 41 70 72 69 6c 5c 6e | 5c 6e 22 2c 0d 0a 20 20 |"April\n|\n",.. |
|000040c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000040d0| 22 4d 61 79 5c 6e 5c 6e | 22 2c 0d 0a 20 20 20 20 |"May\n\n|",.. |
|000040e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 22 4a | | "J|
|000040f0| 75 6e 65 5c 6e 5c 6e 22 | 2c 0d 0a 20 20 20 20 20 |une\n\n"|,.. |
|00004100| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 22 4a 75 | | "Ju|
|00004110| 6c 79 5c 6e 5c 6e 22 2c | 0d 0a 20 20 20 20 20 20 |ly\n\n",|.. |
|00004120| 20 20 20 20 20 20 20 20 | 20 20 20 20 22 41 75 67 | | "Aug|
|00004130| 75 73 74 5c 6e 5c 6e 22 | 2c 0d 0a 20 20 20 20 20 |ust\n\n"|,.. |
|00004140| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 22 53 65 | | "Se|
|00004150| 70 74 65 6d 62 65 72 5c | 6e 5c 6e 22 2c 0d 0a 20 |ptember\|n\n",.. |
|00004160| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004170| 20 22 4f 63 74 6f 62 65 | 72 5c 6e 5c 6e 22 2c 0d | "Octobe|r\n\n",.|
|00004180| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00004190| 20 20 20 22 4e 6f 76 65 | 6d 62 65 72 5c 6e 5c 6e | "Nove|mber\n\n|
|000041a0| 22 2c 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |",.. | |
|000041b0| 20 20 20 20 20 20 22 44 | 65 63 65 6d 62 65 72 5c | "D|ecember\|
|000041c0| 6e 5c 6e 22 7d 3b 0d 0a | 0d 0a 2f 2a 4d 61 69 6e |n\n"};..|../*Main|
|000041d0| 20 2d 20 69 6e 70 75 74 | 20 61 20 6e 75 6d 62 65 | - input| a numbe|
|000041e0| 72 20 61 6e 64 20 6f 75 | 74 70 75 74 20 74 68 65 |r and ou|tput the|
|000041f0| 20 63 6f 72 72 65 73 70 | 6f 6e 64 69 6e 67 20 6e | corresp|onding n|
|00004200| 61 6d 65 20 6f 66 0d 0a | 09 20 74 68 65 20 6d 6f |ame of..|. the mo|
|00004210| 6e 74 68 2a 2f 0d 0a 6d | 61 69 6e 28 29 0d 0a 7b |nth*/..m|ain()..{|
|00004220| 0d 0a 20 20 20 20 75 6e | 73 69 67 6e 65 64 20 70 |.. un|signed p|
|00004230| 75 74 6d 6f 6e 74 68 73 | 28 29 3b 0d 0a 20 20 20 |utmonths|();.. |
|00004240| 20 75 6e 73 69 67 6e 65 | 64 20 69 6e 6e 75 6d 3b | unsigne|d innum;|
|00004250| 0d 0a 0d 0a 20 20 20 20 | 64 6f 20 7b 0d 0a 20 20 |.... |do {.. |
|00004260| 20 20 20 20 20 20 20 70 | 72 69 6e 74 66 20 28 22 | p|rintf ("|
|00004270| 45 6e 74 65 72 20 61 6e | 6f 74 68 65 72 20 6d 6f |Enter an|other mo|
|00004280| 6e 74 68 3a 20 22 29 3b | 0d 0a 20 20 20 20 20 20 |nth: ");|.. |
|00004290| 20 20 20 73 63 61 6e 66 | 20 28 22 25 64 22 2c 26 | scanf| ("%d",&|
|000042a0| 69 6e 6e 75 6d 29 3b 0d | 0a 20 20 20 20 20 20 20 |innum);.|. |
|000042b0| 7d 20 77 68 69 6c 65 20 | 28 70 75 74 6d 6f 6e 74 |} while |(putmont|
|000042c0| 68 73 28 69 6e 6e 75 6d | 29 29 3b 0d 0a 7d 0d 0a |hs(innum|));..}..|
|000042d0| 0d 0a 2f 2a 50 75 74 6d | 6f 6e 74 68 73 20 2d 20 |../*Putm|onths - |
|000042e0| 67 69 76 65 6e 20 61 20 | 6e 75 6d 62 65 72 2c 20 |given a |number, |
|000042f0| 70 72 69 6e 74 20 74 68 | 65 20 63 6f 72 72 65 73 |print th|e corres|
|00004300| 70 6f 6e 64 69 6e 67 20 | 6d 6f 6e 74 68 2e 20 20 |ponding |month. |
|00004310| 52 65 74 75 72 6e 0d 0a | 20 20 20 20 20 20 20 20 |Return..| |
|00004320| 20 20 20 20 20 20 74 68 | 65 20 6e 75 6d 62 65 72 | th|e number|
|00004330| 2c 20 75 6e 6c 65 73 73 | 20 69 74 20 69 73 20 6f |, unless| it is o|
|00004340| 75 74 20 6f 66 20 72 61 | 6e 67 65 2c 20 69 6e 20 |ut of ra|nge, in |
|00004350| 77 68 69 63 68 20 63 61 | 73 65 2c 0d 0a 20 20 20 |which ca|se,.. |
|00004360| 20 20 20 20 20 20 20 20 | 20 20 20 72 65 74 75 72 | | retur|
|00004370| 6e 20 61 20 30 2a 2f 0d | 0a 75 6e 73 69 67 6e 65 |n a 0*/.|.unsigne|
|00004380| 64 20 70 75 74 6d 6f 6e | 74 68 73 28 6d 6f 6e 74 |d putmon|ths(mont|
|00004390| 68 29 0d 0a 20 20 20 20 | 75 6e 73 69 67 6e 65 64 |h).. |unsigned|
|000043a0| 20 6d 6f 6e 74 68 3b 0d | 0a 7b 0d 0a 20 20 20 20 | month;.|.{.. |
|000043b0| 69 66 20 28 6d 6f 6e 74 | 68 20 3e 20 31 32 29 0d |if (mont|h > 12).|
|000043c0| 0a 20 20 20 20 20 20 20 | 20 20 6d 6f 6e 74 68 20 |. | month |
|000043d0| 3d 20 30 3b 0d 0a 20 20 | 20 20 70 72 69 6e 74 66 |= 0;.. | printf|
|000043e0| 28 6d 6f 6e 74 68 73 5b | 6d 6f 6e 74 68 5d 29 3b |(months[|month]);|
|000043f0| 0d 0a 20 20 20 20 72 65 | 74 75 72 6e 28 6d 6f 6e |.. re|turn(mon|
|00004400| 74 68 29 3b 0d 0a 7d 0d | 0a 1a 20 20 00 00 00 00 |th);..}.|.. ....|
|00004410| 00 00 00 00 00 00 c0 91 | 33 0f 02 00 7c 04 00 00 |........|3...|...|
|00004420| 50 52 47 34 5f 32 41 20 | 43 20 20 20 00 00 00 00 |PRG4_2A |C ....|
|00004430| 00 00 00 00 00 00 c1 91 | 33 0f 04 00 70 0a 00 00 |........|3...p...|
|00004440| 50 52 47 33 5f 32 42 20 | 43 20 20 20 00 00 00 00 |PRG3_2B |C ....|
|00004450| 00 00 00 00 00 00 c1 91 | 33 0f 00 00 00 00 00 00 |........|3.......|
|00004460| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00004470| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00004480| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00004490| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000044a0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000044b0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000044c0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000044d0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000044e0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000044f0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00004500| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00004510| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00004520| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00004530| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00004540| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00004550| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00004560| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00004570| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00004580| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00004590| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000045a0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000045b0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000045c0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000045d0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000045e0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000045f0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00004600| 2f 2a 20 50 72 6f 67 72 | 61 6d 20 33 5f 34 20 2d |/* Progr|am 3_4 -|
|00004610| 20 74 68 65 20 63 6c 61 | 73 73 69 63 20 42 75 62 | the cla|ssic Bub|
|00004620| 62 6c 65 20 53 6f 72 74 | 20 75 73 69 6e 67 20 75 |ble Sort| using u|
|00004630| 73 65 72 2d 73 75 70 70 | 6c 69 65 64 20 72 6f 75 |ser-supp|lied rou|
|00004640| 74 69 6e 65 73 0d 0a 20 | 20 20 20 62 79 20 53 74 |tines.. | by St|
|00004650| 65 70 68 65 6e 20 52 2e | 20 44 61 76 69 73 2c 20 |ephen R.| Davis, |
|00004660| 31 39 38 37 0d 0a 0d 0a | 20 20 54 68 65 20 62 75 |1987....| The bu|
|00004670| 62 62 6c 65 20 73 6f 72 | 74 20 72 6f 75 74 69 6e |bble sor|t routin|
|00004680| 65 20 66 69 72 73 74 20 | 61 70 70 65 61 72 65 64 |e first |appeared|
|00004690| 20 69 6e 20 4b 65 72 6e | 69 67 68 61 6e 20 61 6e | in Kern|ighan an|
|000046a0| 64 20 52 69 74 63 68 69 | 65 20 61 73 0d 0a 20 20 |d Ritchi|e as.. |
|000046b0| 61 6e 20 65 78 61 6d 70 | 6c 65 20 6f 66 20 74 68 |an examp|le of th|
|000046c0| 65 20 70 61 73 73 69 6e | 67 20 6f 66 20 6f 6e 65 |e passin|g of one|
|000046d0| 20 72 6f 75 74 69 6e 65 | 20 74 6f 20 61 6e 6f 74 | routine| to anot|
|000046e0| 68 65 72 2e 20 20 54 68 | 69 73 20 69 73 20 61 0d |her. Th|is is a.|
|000046f0| 0a 20 20 66 75 72 74 68 | 65 72 20 67 65 6e 65 72 |. furth|er gener|
|00004700| 61 6c 69 7a 61 74 69 6f | 6e 20 6f 66 20 74 68 61 |alizatio|n of tha|
|00004710| 74 20 72 6f 75 74 69 6e | 65 2e 20 20 54 68 69 73 |t routin|e. This|
|00004720| 20 76 65 72 73 69 6f 6e | 20 69 73 20 61 73 0d 0a | version| is as..|
|00004730| 20 20 63 6f 6d 70 6c 65 | 74 65 6c 79 20 67 65 6e | comple|tely gen|
|00004740| 65 72 61 6c 20 61 73 20 | 69 73 20 70 6f 73 73 69 |eral as |is possi|
|00004750| 62 6c 65 2e 0d 0a 0d 0a | 20 20 53 4f 52 54 20 28 |ble.....| SORT (|
|00004760| 29 20 63 61 6e 20 73 6f | 72 74 20 41 4e 59 20 64 |) can so|rt ANY d|
|00004770| 61 74 61 20 74 79 70 65 | 2c 20 69 6e 63 6c 75 64 |ata type|, includ|
|00004780| 69 6e 67 20 61 6e 79 20 | 75 73 65 72 20 64 65 66 |ing any |user def|
|00004790| 69 6e 65 64 0d 0a 20 20 | 20 20 73 74 72 75 63 74 |ined.. | struct|
|000047a0| 75 72 65 2c 20 69 66 20 | 70 72 6f 76 69 64 65 64 |ure, if |provided|
|000047b0| 20 77 69 74 68 20 74 68 | 72 65 65 20 72 6f 75 74 | with th|ree rout|
|000047c0| 69 6e 65 73 3a 20 6f 6e | 65 20 74 6f 20 63 6f 6d |ines: on|e to com|
|000047d0| 70 61 72 65 20 74 77 6f | 0d 0a 20 20 20 20 65 6e |pare two|.. en|
|000047e0| 74 72 69 65 73 2c 20 61 | 6e 6f 74 68 65 72 20 74 |tries, a|nother t|
|000047f0| 6f 20 73 77 61 70 20 74 | 77 6f 20 65 6e 74 72 69 |o swap t|wo entri|
|00004800| 65 73 20 61 6e 64 20 61 | 20 74 68 69 72 64 20 74 |es and a| third t|
|00004810| 6f 20 73 65 71 75 65 6e | 63 65 20 66 72 6f 6d 0d |o sequen|ce from.|
|00004820| 0a 20 20 20 20 6f 6e 65 | 20 65 6e 74 72 79 20 74 |. one| entry t|
|00004830| 6f 20 74 68 65 20 6e 65 | 78 74 2e 20 20 54 68 65 |o the ne|xt. The|
|00004840| 20 64 65 74 61 69 6c 73 | 20 6f 66 20 74 68 65 73 | details| of thes|
|00004850| 65 20 72 6f 75 74 69 6e | 65 73 20 61 72 65 20 67 |e routin|es are g|
|00004860| 69 76 65 6e 0d 0a 20 20 | 20 20 62 65 6c 6f 77 2e |iven.. | below.|
|00004870| 20 20 53 6f 72 74 20 72 | 65 74 75 72 6e 73 20 61 | Sort r|eturns a|
|00004880| 20 30 20 69 66 20 74 68 | 65 20 73 6f 72 74 20 69 | 0 if th|e sort i|
|00004890| 73 20 73 75 63 63 65 73 | 73 66 75 6c 20 61 6e 64 |s succes|sful and|
|000048a0| 20 61 20 2d 31 0d 0a 20 | 20 20 20 6f 74 68 65 72 | a -1.. | other|
|000048b0| 77 69 73 65 2e 0d 0a 0d | 0a 20 20 43 4f 4d 50 41 |wise....|. COMPA|
|000048c0| 52 45 28 70 74 72 31 2c | 20 70 74 72 32 29 0d 0a |RE(ptr1,| ptr2)..|
|000048d0| 20 20 20 20 72 65 63 65 | 69 76 65 73 20 74 77 6f | rece|ives two|
|000048e0| 20 70 6f 69 6e 74 65 72 | 73 20 74 6f 20 74 68 65 | pointer|s to the|
|000048f0| 20 73 74 72 75 63 74 75 | 72 65 73 20 74 6f 20 62 | structu|res to b|
|00004900| 65 20 63 6f 6d 70 61 72 | 65 64 2e 0d 0a 20 20 20 |e compar|ed... |
|00004910| 20 52 65 74 75 72 6e 73 | 20 61 20 2d 31 20 69 66 | Returns| a -1 if|
|00004920| 20 2a 70 74 72 31 20 3c | 20 2a 70 74 72 32 2c 20 | *ptr1 <| *ptr2, |
|00004930| 61 20 30 20 69 66 20 2a | 70 74 72 31 20 3d 3d 20 |a 0 if *|ptr1 == |
|00004940| 2a 70 74 72 32 2c 20 61 | 6e 64 20 31 20 69 66 0d |*ptr2, a|nd 1 if.|
|00004950| 0a 20 20 20 20 2a 70 74 | 72 31 20 3e 20 2a 70 74 |. *pt|r1 > *pt|
|00004960| 72 32 20 66 6f 72 20 61 | 73 63 65 6e 64 69 6e 67 |r2 for a|scending|
|00004970| 20 6f 72 64 65 72 20 61 | 6e 64 20 74 68 65 20 6f | order a|nd the o|
|00004980| 70 70 6f 73 69 74 65 20 | 66 6f 72 0d 0a 20 20 20 |pposite |for.. |
|00004990| 20 64 65 73 63 65 6e 64 | 69 6e 67 2e 0d 0a 0d 0a | descend|ing.....|
|000049a0| 20 20 53 57 41 50 20 28 | 70 74 72 31 2c 20 70 74 | SWAP (|ptr1, pt|
|000049b0| 72 32 29 0d 0a 20 20 20 | 20 72 65 63 65 69 76 65 |r2).. | receive|
|000049c0| 73 20 74 77 6f 20 70 6f | 69 6e 74 65 72 73 20 74 |s two po|inters t|
|000049d0| 6f 20 73 74 72 75 63 74 | 75 72 65 73 2e 20 20 55 |o struct|ures. U|
|000049e0| 70 6f 6e 20 72 65 74 75 | 72 6e 69 6e 67 20 2a 70 |pon retu|rning *p|
|000049f0| 74 72 32 20 69 73 0d 0a | 20 20 20 20 69 6e 20 74 |tr2 is..| in t|
|00004a00| 68 65 20 6c 6f 63 61 74 | 69 6f 6e 20 6f 66 20 2a |he locat|ion of *|
|00004a10| 70 74 72 31 20 61 6e 64 | 20 76 69 73 63 61 20 76 |ptr1 and| visca v|
|00004a20| 65 72 73 61 2e 20 20 49 | 66 20 70 74 72 31 20 3d |ersa. I|f ptr1 =|
|00004a30| 3d 20 70 74 72 32 20 74 | 68 65 6e 0d 0a 20 20 20 |= ptr2 t|hen.. |
|00004a40| 20 73 77 61 70 28 29 20 | 68 61 73 20 6e 6f 20 65 | swap() |has no e|
|00004a50| 66 66 65 63 74 2e 20 20 | 53 77 61 70 28 29 20 72 |ffect. |Swap() r|
|00004a60| 65 74 75 72 6e 73 20 61 | 20 30 20 69 66 20 74 68 |eturns a| 0 if th|
|00004a70| 65 20 65 78 63 68 61 6e | 67 65 20 69 73 0d 0a 20 |e exchan|ge is.. |
|00004a80| 20 20 20 73 75 63 63 65 | 73 73 66 75 6c 20 61 6e | succe|ssful an|
|00004a90| 64 20 61 20 6e 6f 6e 2d | 7a 65 72 6f 20 6f 74 68 |d a non-|zero oth|
|00004aa0| 65 72 77 69 73 65 2e 0d | 0a 0d 0a 20 20 53 45 51 |erwise..|... SEQ|
|00004ab0| 55 45 4e 43 45 20 28 70 | 74 72 31 29 0d 0a 20 20 |UENCE (p|tr1).. |
|00004ac0| 20 20 72 65 63 65 69 76 | 65 73 20 61 20 70 6f 69 | receiv|es a poi|
|00004ad0| 6e 74 65 72 20 74 6f 20 | 61 6e 20 65 6e 74 72 79 |nter to |an entry|
|00004ae0| 2e 20 20 52 65 74 75 72 | 6e 73 20 61 20 70 6f 69 |. Retur|ns a poi|
|00004af0| 6e 74 65 72 20 74 6f 20 | 74 68 65 0d 0a 20 20 20 |nter to |the.. |
|00004b00| 20 6e 65 78 74 20 65 6e | 74 72 79 2e 20 20 4e 6f | next en|try. No|
|00004b10| 74 69 63 65 20 74 68 61 | 74 20 74 68 65 20 64 65 |tice tha|t the de|
|00004b20| 66 69 6e 69 74 69 6f 6e | 20 6f 66 20 22 6e 65 78 |finition| of "nex|
|00004b30| 74 22 20 69 73 20 6c 65 | 66 74 20 74 6f 0d 0a 20 |t" is le|ft to.. |
|00004b40| 20 20 20 74 68 65 20 75 | 73 65 72 2e 20 20 49 66 | the u|ser. If|
|00004b50| 20 70 74 72 31 20 3d 3d | 20 30 2c 20 73 65 71 75 | ptr1 ==| 0, sequ|
|00004b60| 65 6e 63 65 28 29 20 72 | 65 74 75 72 6e 73 20 74 |ence() r|eturns t|
|00004b70| 68 65 20 66 69 72 73 74 | 20 65 6e 74 72 79 2e 0d |he first| entry..|
|00004b80| 0a 20 20 20 20 49 66 20 | 73 65 71 75 65 6e 63 65 |. If |sequence|
|00004b90| 20 28 29 20 3d 3d 20 30 | 20 74 68 65 6e 20 74 68 | () == 0| then th|
|00004ba0| 65 20 65 6e 64 20 6f 66 | 20 73 65 71 75 65 6e 63 |e end of| sequenc|
|00004bb0| 65 20 68 61 73 20 62 65 | 65 6e 20 72 65 61 63 68 |e has be|en reach|
|00004bc0| 65 64 2e 0d 0a 2a 2f 0d | 0a 0d 0a 23 69 6e 63 6c |ed...*/.|...#incl|
|00004bd0| 75 64 65 20 3c 73 74 64 | 69 6f 2e 68 3e 0d 0a 0d |ude <std|io.h>...|
|00004be0| 0a 2f 2a 70 72 6f 74 6f | 74 79 70 65 20 64 65 66 |./*proto|type def|
|00004bf0| 69 6e 69 74 69 6f 6e 73 | 20 2d 2d 2a 2f 0d 0a 69 |initions| --*/..i|
|00004c00| 6e 74 20 73 6f 72 74 20 | 28 69 6e 74 20 28 2a 29 |nt sort |(int (*)|
|00004c10| 28 76 6f 69 64 20 2a 2c | 20 76 6f 69 64 20 2a 29 |(void *,| void *)|
|00004c20| 2c 20 69 6e 74 20 28 2a | 29 28 76 6f 69 64 20 2a |, int (*|)(void *|
|00004c30| 2c 20 76 6f 69 64 20 2a | 29 2c 0d 0a 09 20 20 76 |, void *|),... v|
|00004c40| 6f 69 64 20 2a 28 2a 29 | 28 76 6f 69 64 20 2a 29 |oid *(*)|(void *)|
|00004c50| 29 3b 0d 0a 0d 0a 2f 2a | 53 6f 72 74 20 2d 20 69 |);..../*|Sort - i|
|00004c60| 6d 70 6c 69 6d 65 6e 74 | 20 62 75 62 62 6c 65 20 |mpliment| bubble |
|00004c70| 73 6f 72 74 2a 2f 0d 0a | 69 6e 74 20 73 6f 72 74 |sort*/..|int sort|
|00004c80| 20 28 63 6f 6d 70 61 72 | 65 2c 20 73 77 61 70 2c | (compar|e, swap,|
|00004c90| 20 73 65 71 75 65 6e 63 | 65 29 0d 0a 20 20 20 20 | sequenc|e).. |
|00004ca0| 20 69 6e 74 20 28 2a 63 | 6f 6d 70 61 72 65 29 28 | int (*c|ompare)(|
|00004cb0| 76 6f 69 64 20 2a 2c 20 | 76 6f 69 64 20 2a 29 2c |void *, |void *),|
|00004cc0| 20 28 2a 73 77 61 70 29 | 28 76 6f 69 64 20 2a 2c | (*swap)|(void *,|
|00004cd0| 20 76 6f 69 64 20 2a 29 | 3b 0d 0a 20 20 20 20 20 | void *)|;.. |
|00004ce0| 76 6f 69 64 20 2a 28 2a | 73 65 71 75 65 6e 63 65 |void *(*|sequence|
|00004cf0| 29 28 76 6f 69 64 20 2a | 29 3b 0d 0a 7b 0d 0a 20 |)(void *|);..{.. |
|00004d00| 20 20 20 69 6e 74 20 66 | 6c 61 67 3b 0d 0a 20 20 | int f|lag;.. |
|00004d10| 20 20 76 6f 69 64 20 2a | 70 31 2c 20 2a 70 32 3b | void *|p1, *p2;|
|00004d20| 0d 0a 0d 0a 20 20 20 20 | 64 6f 20 7b 0d 0a 20 20 |.... |do {.. |
|00004d30| 20 20 20 20 20 20 20 66 | 6c 61 67 20 3d 20 20 30 | f|lag = 0|
|00004d40| 3b 0d 0a 20 20 20 20 20 | 20 20 20 20 70 32 20 3d |;.. | p2 =|
|00004d50| 20 28 2a 73 65 71 75 65 | 6e 63 65 29 28 30 29 3b | (*seque|nce)(0);|
|00004d60| 20 20 20 20 20 20 20 20 | 20 20 2f 2a 73 74 61 72 | | /*star|
|00004d70| 74 69 6e 67 20 77 2f 20 | 66 69 72 73 74 20 65 6e |ting w/ |first en|
|00004d80| 74 72 79 2e 2e 2e 2a 2f | 0d 0a 20 20 20 20 20 20 |try...*/|.. |
|00004d90| 20 20 20 77 68 69 6c 65 | 20 28 70 31 20 3d 20 70 | while| (p1 = p|
|00004da0| 32 2c 20 70 32 20 3d 20 | 28 2a 73 65 71 75 65 6e |2, p2 = |(*sequen|
|00004db0| 63 65 29 20 28 70 32 29 | 29 20 2f 2a 2e 2e 2e 73 |ce) (p2)|) /*...s|
|00004dc0| 65 71 75 65 6e 63 65 20 | 74 68 72 75 2a 2f 0d 0a |equence |thru*/..|
|00004dd0| 20 20 20 20 20 20 20 20 | 20 7b 0d 0a 20 20 20 20 | | {.. |
|00004de0| 20 20 20 20 20 20 20 20 | 20 20 69 66 20 28 28 2a | | if ((*|
|00004df0| 63 6f 6d 70 61 72 65 29 | 28 70 31 2c 20 70 32 29 |compare)|(p1, p2)|
|00004e00| 20 3e 20 30 29 20 7b 20 | 20 20 20 20 2f 2a 69 66 | > 0) { | /*if|
|00004e10| 20 70 31 20 3e 20 70 32 | 2e 2e 2e 2a 2f 0d 0a 20 | p1 > p2|...*/.. |
|00004e20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004e30| 20 20 69 66 20 28 28 2a | 73 77 61 70 29 28 70 31 | if ((*|swap)(p1|
|00004e40| 2c 20 70 32 29 29 20 72 | 65 74 75 72 6e 20 2d 31 |, p2)) r|eturn -1|
|00004e50| 3b 2f 2a 2e 2e 2e 73 77 | 61 70 20 70 31 20 26 20 |;/*...sw|ap p1 & |
|00004e60| 70 32 2a 2f 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |p2*/.. | |
|00004e70| 20 20 20 20 20 20 20 20 | 20 66 6c 61 67 20 3d 20 | | flag = |
|00004e80| 31 3b 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |1;.. | |
|00004e90| 20 20 7d 0d 0a 20 20 20 | 20 20 20 20 20 20 7d 0d | }.. | }.|
|00004ea0| 0a 20 20 20 20 20 20 20 | 7d 20 77 68 69 6c 65 20 |. |} while |
|00004eb0| 28 66 6c 61 67 29 3b 20 | 20 20 20 20 20 20 20 20 |(flag); | |
|00004ec0| 20 20 20 20 20 20 20 20 | 2f 2a 73 74 6f 70 20 77 | |/*stop w|
|00004ed0| 68 65 6e 20 61 6c 6c 20 | 61 72 65 20 69 6e 20 6f |hen all |are in o|
|00004ee0| 72 64 65 72 2a 2f 0d 0a | 20 20 20 20 72 65 74 75 |rder*/..| retu|
|00004ef0| 72 6e 20 30 3b 0d 0a 7d | 0d 0a 0d 0a 0d 0a 2f 2a |rn 0;..}|....../*|
|00004f00| 73 69 6d 70 6c 65 20 65 | 78 61 6d 70 6c 65 20 6f |simple e|xample o|
|00004f10| 66 20 75 73 69 6e 67 20 | 53 4f 52 54 28 29 20 2d |f using |SORT() -|
|00004f20| 2d 0d 0a 20 20 6c 65 74 | 27 73 20 73 69 6d 70 6c |-.. let|'s simpl|
|00004f30| 79 20 73 6f 72 74 20 61 | 6e 20 61 72 72 61 79 20 |y sort a|n array |
|00004f40| 6f 66 20 69 6e 74 65 67 | 65 72 73 20 63 61 6c 6c |of integ|ers call|
|00004f50| 65 64 20 22 64 61 74 61 | 22 20 64 65 63 6c 61 72 |ed "data|" declar|
|00004f60| 65 64 0d 0a 20 20 67 6c | 6f 62 61 6c 6c 79 20 77 |ed.. gl|obally w|
|00004f70| 69 74 68 20 4e 20 65 6e | 74 72 69 65 73 2e 20 20 |ith N en|tries. |
|00004f80| 43 6f 6e 76 69 6e 63 65 | 20 79 6f 75 72 73 65 6c |Convince| yoursel|
|00004f90| 66 20 74 68 61 74 20 74 | 68 65 20 33 20 72 6f 75 |f that t|he 3 rou|
|00004fa0| 74 69 6e 65 73 0d 0a 20 | 20 62 65 6c 6f 77 20 61 |tines.. | below a|
|00004fb0| 63 74 75 61 6c 6c 79 20 | 6f 70 65 72 61 74 65 20 |ctually |operate |
|00004fc0| 61 63 63 6f 72 64 69 6e | 67 20 74 6f 20 74 68 65 |accordin|g to the|
|00004fd0| 20 64 65 73 63 72 69 70 | 74 69 6f 6e 20 61 62 6f | descrip|tion abo|
|00004fe0| 76 65 2e 20 20 54 68 65 | 6e 0d 0a 20 20 70 72 6f |ve. The|n.. pro|
|00004ff0| 76 65 20 74 68 61 74 20 | 69 74 20 77 6f 72 6b 73 |ve that |it works|
|00005000| 20 61 74 20 61 6c 6c 20 | 62 79 20 65 78 65 63 75 | at all |by execu|
|00005010| 74 69 6e 67 20 74 68 65 | 20 70 72 6f 67 72 61 6d |ting the| program|
|00005020| 2e 0d 0a 2a 2f 0d 0a 0d | 0a 23 64 65 66 69 6e 65 |...*/...|.#define|
|00005030| 20 4e 20 31 30 0d 0a 69 | 6e 74 20 64 61 74 61 20 | N 10..i|nt data |
|00005040| 5b 4e 5d 3b 0d 0a 0d 0a | 0d 0a 69 6e 74 20 63 6f |[N];....|..int co|
|00005050| 6d 70 61 72 65 20 28 69 | 31 2c 20 69 32 29 0d 0a |mpare (i|1, i2)..|
|00005060| 20 20 20 20 69 6e 74 20 | 2a 69 31 2c 20 2a 69 32 | int |*i1, *i2|
|00005070| 3b 0d 0a 7b 0d 0a 20 20 | 20 20 69 66 20 28 2a 69 |;..{.. | if (*i|
|00005080| 31 20 21 3d 20 2a 69 32 | 29 20 72 65 74 75 72 6e |1 != *i2|) return|
|00005090| 20 28 2a 69 31 20 3e 20 | 2a 69 32 29 20 3f 20 31 | (*i1 > |*i2) ? 1|
|000050a0| 3a 20 2d 31 3b 0d 0a 20 | 20 20 20 72 65 74 75 72 |: -1;.. | retur|
|000050b0| 6e 20 30 3b 0d 0a 7d 0d | 0a 0d 0a 69 6e 74 20 73 |n 0;..}.|...int s|
|000050c0| 77 61 70 20 28 69 31 2c | 20 69 32 29 0d 0a 20 20 |wap (i1,| i2).. |
|000050d0| 20 20 69 6e 74 20 2a 69 | 31 2c 20 2a 69 32 3b 0d | int *i|1, *i2;.|
|000050e0| 0a 7b 0d 0a 20 20 20 20 | 69 6e 74 20 74 65 6d 70 |.{.. |int temp|
|000050f0| 3b 0d 0a 0d 0a 20 20 20 | 20 74 65 6d 70 20 3d 20 |;.... | temp = |
|00005100| 2a 69 31 3b 0d 0a 20 20 | 20 20 2a 69 31 20 3d 20 |*i1;.. | *i1 = |
|00005110| 2a 69 32 3b 0d 0a 20 20 | 20 20 2a 69 32 20 3d 20 |*i2;.. | *i2 = |
|00005120| 74 65 6d 70 3b 0d 0a 20 | 20 20 20 72 65 74 75 72 |temp;.. | retur|
|00005130| 6e 20 30 3b 0d 0a 7d 0d | 0a 0d 0a 76 6f 69 64 20 |n 0;..}.|...void |
|00005140| 2a 73 65 71 75 65 6e 63 | 65 20 28 69 29 0d 0a 20 |*sequenc|e (i).. |
|00005150| 20 20 20 69 6e 74 20 2a | 69 3b 0d 0a 7b 0d 0a 20 | int *|i;..{.. |
|00005160| 20 20 20 69 66 20 28 69 | 29 0d 0a 20 20 20 20 20 | if (i|).. |
|00005170| 20 20 20 20 69 66 20 28 | 69 20 3d 3d 20 26 64 61 | if (|i == &da|
|00005180| 74 61 5b 4e 20 2d 20 31 | 5d 29 20 20 20 20 20 20 |ta[N - 1|]) |
|00005190| 20 20 2f 2a 69 66 20 6c | 61 73 74 20 65 6e 74 72 | /*if l|ast entr|
|000051a0| 79 2e 2e 2e 2a 2f 0d 0a | 20 20 20 20 20 20 20 20 |y...*/..| |
|000051b0| 20 20 20 20 20 20 72 65 | 74 75 72 6e 20 30 3b 20 | re|turn 0; |
|000051c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2f | | /|
|000051d0| 2a 2e 2e 2e 72 65 74 75 | 72 6e 20 61 20 30 3b 20 |*...retu|rn a 0; |
|000051e0| 65 6c 73 65 2e 2e 2e 2a | 2f 0d 0a 20 20 20 20 20 |else...*|/.. |
|000051f0| 20 20 20 20 65 6c 73 65 | 0d 0a 20 20 20 20 20 20 | else|.. |
|00005200| 20 20 20 20 20 20 20 20 | 72 65 74 75 72 6e 20 2b | |return +|
|00005210| 2b 69 3b 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |+i; | |
|00005220| 20 2f 2a 2e 2e 2e 72 65 | 74 75 72 6e 20 74 68 65 | /*...re|turn the|
|00005230| 20 6e 65 78 74 20 65 6e | 74 72 79 2a 2f 0d 0a 20 | next en|try*/.. |
|00005240| 20 20 20 65 6c 73 65 0d | 0a 20 20 20 20 20 20 20 | else.|. |
|00005250| 20 20 72 65 74 75 72 6e | 20 64 61 74 61 3b 20 20 | return| data; |
|00005260| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005270| 2f 2a 72 65 74 75 72 6e | 20 66 69 72 73 74 20 65 |/*return| first e|
|00005280| 6e 74 72 79 2a 2f 0d 0a | 7d 0d 0a 0d 0a 6d 61 69 |ntry*/..|}....mai|
|00005290| 6e 20 28 29 0d 0a 7b 0d | 0a 20 20 20 20 69 6e 74 |n ()..{.|. int|
|000052a0| 20 69 3b 0d 0a 0d 0a 20 | 20 20 20 70 72 69 6e 74 | i;.... | print|
|000052b0| 66 20 28 22 45 6e 74 65 | 72 20 61 20 73 65 71 75 |f ("Ente|r a sequ|
|000052c0| 65 6e 63 65 20 6f 66 20 | 25 64 20 69 6e 74 65 67 |ence of |%d integ|
|000052d0| 65 72 73 5c 6e 22 2c 20 | 4e 29 3b 0d 0a 20 20 20 |ers\n", |N);.. |
|000052e0| 20 66 6f 72 20 28 69 20 | 3d 20 30 3b 20 69 20 3c | for (i |= 0; i <|
|000052f0| 20 4e 3b 20 69 2b 2b 29 | 0d 0a 20 20 20 20 20 20 | N; i++)|.. |
|00005300| 20 20 20 73 63 61 6e 66 | 20 28 22 25 64 22 2c 20 | scanf| ("%d", |
|00005310| 26 64 61 74 61 5b 69 5d | 29 3b 0d 0a 20 20 20 20 |&data[i]|);.. |
|00005320| 69 66 20 28 73 6f 72 74 | 20 28 63 6f 6d 70 61 72 |if (sort| (compar|
|00005330| 65 2c 20 73 77 61 70 2c | 20 73 65 71 75 65 6e 63 |e, swap,| sequenc|
|00005340| 65 29 29 0d 0a 20 20 20 | 20 20 20 20 20 20 70 72 |e)).. | pr|
|00005350| 69 6e 74 66 20 28 22 45 | 72 72 6f 72 20 64 75 72 |intf ("E|rror dur|
|00005360| 69 6e 67 20 73 6f 72 74 | 21 5c 6e 22 29 3b 0d 0a |ing sort|!\n");..|
|00005370| 20 20 20 20 70 72 69 6e | 74 66 20 28 22 5c 6e 5c | prin|tf ("\n\|
|00005380| 6e 48 65 72 65 20 69 73 | 20 74 68 65 20 73 6f 72 |nHere is| the sor|
|00005390| 74 65 64 20 73 65 71 75 | 65 6e 63 65 5c 6e 22 29 |ted sequ|ence\n")|
|000053a0| 3b 0d 0a 20 20 20 20 66 | 6f 72 20 28 69 20 3d 20 |;.. f|or (i = |
|000053b0| 30 3b 20 69 20 3c 20 4e | 3b 20 69 2b 2b 29 0d 0a |0; i < N|; i++)..|
|000053c0| 20 20 20 20 20 20 20 20 | 20 70 72 69 6e 74 66 20 | | printf |
|000053d0| 28 22 25 64 20 20 22 2c | 20 64 61 74 61 5b 69 5d |("%d ",| data[i]|
|000053e0| 29 3b 0d 0a 7d 0d 0a 1a | f6 f6 f6 f6 f6 f6 f6 f6 |);..}...|........|
|000053f0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005400| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005410| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005420| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005430| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005440| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005450| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005460| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005470| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005480| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005490| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000054a0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000054b0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000054c0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000054d0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000054e0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000054f0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005500| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005510| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005520| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005530| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005540| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005550| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005560| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005570| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005580| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005590| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000055a0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000055b0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000055c0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000055d0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000055e0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|000055f0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005600| 2f 2a 20 50 72 6f 67 72 | 61 6d 20 33 5f 31 20 2d |/* Progr|am 3_1 -|
|00005610| 2d 20 50 72 65 74 74 79 | 20 70 72 69 6e 74 20 66 |- Pretty| print f|
|00005620| 6f 72 20 74 68 65 20 72 | 65 6d 61 69 6e 69 6e 67 |or the r|emaining|
|00005630| 20 6c 69 73 74 69 6e 67 | 73 0d 0a 20 20 20 20 62 | listing|s.. b|
|00005640| 79 20 53 74 65 70 68 65 | 6e 20 52 2e 20 44 61 76 |y Stephe|n R. Dav|
|00005650| 69 73 2c 20 27 38 37 0d | 0a 0d 0a 20 20 50 72 69 |is, '87.|... Pri|
|00005660| 6e 74 73 20 73 74 61 6e | 64 61 72 64 20 69 6e 70 |nts stan|dard inp|
|00005670| 75 74 20 74 6f 20 73 74 | 61 6e 64 61 72 64 20 6f |ut to st|andard o|
|00005680| 75 74 70 75 74 20 61 66 | 74 65 72 20 61 64 64 69 |utput af|ter addi|
|00005690| 6e 67 20 6c 69 6e 65 20 | 6e 75 6d 62 65 72 73 2c |ng line |numbers,|
|000056a0| 0d 0a 20 20 74 72 75 6e | 63 61 74 69 6e 67 20 74 |.. trun|cating t|
|000056b0| 6f 20 38 30 20 63 68 61 | 72 73 2c 20 65 74 63 2e |o 80 cha|rs, etc.|
|000056c0| 20 20 55 73 65 64 20 74 | 6f 20 67 65 6e 65 72 61 | Used t|o genera|
|000056d0| 74 65 20 6c 69 73 74 69 | 6e 67 73 20 69 6e 20 74 |te listi|ngs in t|
|000056e0| 68 69 73 0d 0a 20 20 62 | 6f 6f 6b 2e 0d 0a 2a 2f |his.. b|ook...*/|
|000056f0| 0d 0a 0d 0a 23 69 6e 63 | 6c 75 64 65 20 3c 73 74 |....#inc|lude <st|
|00005700| 64 69 6f 2e 68 3e 0d 0a | 23 64 65 66 69 6e 65 20 |dio.h>..|#define |
|00005710| 6d 69 6e 28 78 2c 79 29 | 20 28 78 3c 79 29 20 3f |min(x,y)| (x<y) ?|
|00005720| 20 78 3a 79 0d 0a 0d 0a | 2f 2a 70 72 6f 74 6f 74 | x:y....|/*protot|
|00005730| 79 70 65 20 64 65 66 69 | 6e 69 74 69 6f 6e 73 2a |ype defi|nitions*|
|00005740| 2f 0d 0a 69 6e 74 20 6d | 61 69 6e 20 28 29 3b 0d |/..int m|ain ();.|
|00005750| 0a 76 6f 69 64 20 6e 65 | 73 74 69 6e 67 20 28 75 |.void ne|sting (u|
|00005760| 6e 73 69 67 6e 65 64 20 | 2a 2c 20 63 68 61 72 20 |nsigned |*, char |
|00005770| 2a 29 3b 0d 0a 0d 0a 2f | 2a 4d 61 69 6e 20 2d 20 |*);..../|*Main - |
|00005780| 72 65 61 64 20 66 72 6f | 6d 20 53 54 44 49 4e 20 |read fro|m STDIN |
|00005790| 6f 6e 65 20 6c 69 6e 65 | 20 61 74 20 61 20 74 69 |one line| at a ti|
|000057a0| 6d 65 2e 20 20 52 65 70 | 72 69 6e 74 20 65 61 63 |me. Rep|rint eac|
|000057b0| 68 0d 0a 09 20 6c 69 6e | 65 20 74 6f 20 53 54 44 |h... lin|e to STD|
|000057c0| 4f 55 54 20 61 66 74 65 | 72 20 61 64 64 69 6e 67 |OUT afte|r adding|
|000057d0| 20 6c 69 6e 65 20 6e 75 | 6d 62 65 72 73 20 61 6e | line nu|mbers an|
|000057e0| 64 20 6e 65 73 74 69 6e | 67 0d 0a 09 20 6c 65 76 |d nestin|g... lev|
|000057f0| 65 6c 73 2a 2f 0d 0a 6d | 61 69 6e 20 28 29 0d 0a |els*/..m|ain ()..|
|00005800| 7b 0d 0a 20 20 20 20 63 | 68 61 72 20 73 74 72 69 |{.. c|har stri|
|00005810| 6e 67 5b 32 35 36 5d 3b | 0d 0a 20 20 20 20 75 6e |ng[256];|.. un|
|00005820| 73 69 67 6e 65 64 20 6c | 69 6e 65 6e 75 6d 2c 6c |signed l|inenum,l|
|00005830| 65 76 65 6c 2c 6e 65 77 | 6c 65 76 65 6c 3b 0d 0a |evel,new|level;..|
|00005840| 0d 0a 20 20 20 20 6c 69 | 6e 65 6e 75 6d 20 3d 20 |.. li|nenum = |
|00005850| 30 3b 0d 0a 20 20 20 20 | 6e 65 77 6c 65 76 65 6c |0;.. |newlevel|
|00005860| 20 3d 20 30 3b 0d 0a 20 | 20 20 20 77 68 69 6c 65 | = 0;.. | while|
|00005870| 20 28 67 65 74 73 28 73 | 74 72 69 6e 67 29 29 20 | (gets(s|tring)) |
|00005880| 7b 0d 0a 20 20 20 20 20 | 20 20 20 20 6c 65 76 65 |{.. | leve|
|00005890| 6c 20 3d 20 6e 65 77 6c | 65 76 65 6c 3b 0d 0a 20 |l = newl|evel;.. |
|000058a0| 20 20 20 20 20 20 20 20 | 6e 65 73 74 69 6e 67 28 | |nesting(|
|000058b0| 26 6e 65 77 6c 65 76 65 | 6c 2c 73 74 72 69 6e 67 |&newleve|l,string|
|000058c0| 29 3b 0d 0a 20 20 20 20 | 20 20 20 20 20 73 74 72 |);.. | str|
|000058d0| 69 6e 67 5b 37 30 5d 20 | 3d 20 27 5c 30 27 3b 0d |ing[70] |= '\0';.|
|000058e0| 0a 20 20 20 20 20 20 20 | 20 20 70 72 69 6e 74 66 |. | printf|
|000058f0| 20 28 22 25 33 75 5b 25 | 32 75 5d 3a 20 22 2c 2b | ("%3u[%|2u]: ",+|
|00005900| 2b 6c 69 6e 65 6e 75 6d | 2c 6d 69 6e 28 6c 65 76 |+linenum|,min(lev|
|00005910| 65 6c 2c 6e 65 77 6c 65 | 76 65 6c 29 29 3b 0d 0a |el,newle|vel));..|
|00005920| 20 20 20 20 20 20 20 20 | 20 70 75 74 73 20 28 73 | | puts (s|
|00005930| 74 72 69 6e 67 29 3b 0d | 0a 20 20 20 20 7d 3b 0d |tring);.|. };.|
|00005940| 0a 0d 0a 20 20 20 20 77 | 68 69 6c 65 20 28 6c 69 |... w|hile (li|
|00005950| 6e 65 6e 75 6d 2b 2b 20 | 25 20 36 36 29 20 20 2f |nenum++ |% 66) /|
|00005960| 2a 3c 2d 2d 20 69 66 20 | 70 72 69 6e 74 65 72 20 |*<-- if |printer |
|00005970| 68 61 73 20 6e 6f 20 66 | 6f 72 6d 20 66 65 65 64 |has no f|orm feed|
|00005980| 2a 2f 0d 0a 20 20 20 20 | 20 20 20 20 20 70 72 69 |*/.. | pri|
|00005990| 6e 74 66 20 28 22 5c 6e | 22 29 3b 0d 0a 20 20 20 |ntf ("\n|");.. |
|000059a0| 20 2f 2a 70 72 69 6e 74 | 66 20 28 22 5c 66 5c 6e | /*print|f ("\f\n|
|000059b0| 22 29 3b 2a 2f 20 20 20 | 20 2f 2a 3c 2d 2d 20 69 |");*/ | /*<-- i|
|000059c0| 66 20 70 72 69 6e 74 65 | 72 20 64 6f 65 73 20 68 |f printe|r does h|
|000059d0| 61 76 65 20 66 66 2a 2f | 0d 0a 7d 0d 0a 0d 0a 2f |ave ff*/|..}..../|
|000059e0| 2a 4e 65 73 74 69 6e 67 | 20 2d 20 73 65 61 72 63 |*Nesting| - searc|
|000059f0| 68 20 74 68 65 20 67 69 | 76 65 6e 20 73 74 72 69 |h the gi|ven stri|
|00005a00| 6e 67 20 66 6f 72 20 22 | 7b 22 20 61 6e 64 20 22 |ng for "|{" and "|
|00005a10| 7d 22 2e 20 20 49 6e 63 | 72 65 6d 65 6e 74 0d 0a |}". Inc|rement..|
|00005a20| 20 20 20 20 20 20 20 20 | 20 20 20 20 6e 65 73 74 | | nest|
|00005a30| 69 6e 67 20 6c 65 76 65 | 6c 20 6f 6e 20 22 7b 22 |ing leve|l on "{"|
|00005a40| 20 61 6e 64 20 64 65 63 | 72 65 6d 65 6e 74 20 6f | and dec|rement o|
|00005a50| 6e 22 7d 22 2e 2a 2f 0d | 0a 76 6f 69 64 20 6e 65 |n"}".*/.|.void ne|
|00005a60| 73 74 69 6e 67 20 28 6c | 65 76 65 6c 70 74 72 2c |sting (l|evelptr,|
|00005a70| 73 74 72 69 6e 67 70 74 | 72 29 0d 0a 20 20 20 20 |stringpt|r).. |
|00005a80| 75 6e 73 69 67 6e 65 64 | 20 2a 6c 65 76 65 6c 70 |unsigned| *levelp|
|00005a90| 74 72 3b 0d 0a 20 20 20 | 20 63 68 61 72 20 2a 73 |tr;.. | char *s|
|00005aa0| 74 72 69 6e 67 70 74 72 | 3b 0d 0a 7b 0d 0a 20 20 |tringptr|;..{.. |
|00005ab0| 20 20 64 6f 20 7b 0d 0a | 20 20 20 20 20 20 20 20 | do {..| |
|00005ac0| 20 69 66 20 28 2a 73 74 | 72 69 6e 67 70 74 72 20 | if (*st|ringptr |
|00005ad0| 3d 3d 20 27 7b 27 29 0d | 0a 20 20 20 20 20 20 20 |== '{').|. |
|00005ae0| 20 20 20 20 20 20 20 2a | 6c 65 76 65 6c 70 74 72 | *|levelptr|
|00005af0| 20 2b 3d 20 31 3b 0d 0a | 20 20 20 20 20 20 20 20 | += 1;..| |
|00005b00| 20 69 66 20 28 2a 73 74 | 72 69 6e 67 70 74 72 20 | if (*st|ringptr |
|00005b10| 3d 3d 20 27 7d 27 29 0d | 0a 20 20 20 20 20 20 20 |== '}').|. |
|00005b20| 20 20 20 20 20 20 20 2a | 6c 65 76 65 6c 70 74 72 | *|levelptr|
|00005b30| 20 2d 3d 20 31 3b 0d 0a | 20 20 20 20 7d 20 77 68 | -= 1;..| } wh|
|00005b40| 69 6c 65 20 28 2a 73 74 | 72 69 6e 67 70 74 72 2b |ile (*st|ringptr+|
|00005b50| 2b 29 3b 0d 0a 7d 0d 0a | 1a f6 f6 f6 f6 f6 f6 f6 |+);..}..|........|
|00005b60| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005b70| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005b80| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005b90| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005ba0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005bb0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005bc0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005bd0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005be0| 00 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005bf0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005c00| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005c10| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005c20| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005c30| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005c40| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005c50| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005c60| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005c70| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005c80| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005c90| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005ca0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005cb0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005cc0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005cd0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005ce0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005cf0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005d00| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005d10| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005d20| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005d30| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005d40| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005d50| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005d60| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005d70| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005d80| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005d90| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005da0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005db0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005dc0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005dd0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005de0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005df0| f6 f6 f6 f6 f6 f6 f6 f6 | f6 f6 f6 f6 f6 f6 f6 f6 |........|........|
|00005e00| 2f 2a 20 50 72 6f 67 72 | 61 6d 20 35 5f 33 20 2d |/* Progr|am 5_3 -|
|00005e10| 2d 20 50 72 65 74 74 79 | 20 70 72 69 6e 74 20 28 |- Pretty| print (|
|00005e20| 32 6e 64 20 76 65 72 73 | 29 0d 0a 20 20 20 20 62 |2nd vers|).. b|
|00005e30| 79 20 53 74 65 70 68 65 | 6e 20 52 2e 20 44 61 76 |y Stephe|n R. Dav|
|00005e40| 69 73 2c 20 31 39 38 37 | 0d 0a 0d 0a 20 20 41 63 |is, 1987|.... Ac|
|00005e50| 63 65 70 74 73 20 75 70 | 20 74 6f 20 74 77 6f 20 |cepts up| to two |
|00005e60| 61 72 67 75 6d 65 6e 74 | 73 20 77 68 69 63 68 20 |argument|s which |
|00005e70| 61 72 65 20 61 73 73 75 | 6d 65 64 20 74 6f 20 62 |are assu|med to b|
|00005e80| 65 20 66 69 6c 65 20 6e | 61 6d 65 73 2e 0d 0a 20 |e file n|ames... |
|00005e90| 20 50 72 69 6e 74 73 20 | 66 69 72 73 74 20 61 72 | Prints |first ar|
|00005ea0| 67 75 6d 65 6e 74 20 74 | 6f 20 73 65 63 6f 6e 64 |gument t|o second|
|00005eb0| 20 61 72 67 75 6d 65 6e | 74 20 61 66 74 65 72 20 | argumen|t after |
|00005ec0| 61 64 64 69 6e 67 20 6c | 69 6e 65 0d 0a 20 20 6e |adding l|ine.. n|
|00005ed0| 75 6d 62 65 72 73 20 61 | 6e 64 20 6e 6f 74 69 6e |umbers a|nd notin|
|00005ee0| 67 20 74 68 65 20 22 6e | 65 73 74 69 6e 67 20 6c |g the "n|esting l|
|00005ef0| 65 76 65 6c 22 2e 20 20 | 49 66 20 74 68 65 20 73 |evel". |If the s|
|00005f00| 65 63 6f 6e 64 20 66 69 | 6c 65 20 6e 61 6d 65 0d |econd fi|le name.|
|00005f10| 0a 20 20 69 73 20 6d 69 | 73 73 69 6e 67 2c 20 61 |. is mi|ssing, a|
|00005f20| 73 73 75 6d 65 73 20 27 | 73 74 64 6f 75 74 27 2e |ssumes '|stdout'.|
|00005f30| 20 20 49 66 20 66 69 72 | 73 74 20 61 72 67 75 6d | If fir|st argum|
|00005f40| 65 6e 74 20 69 73 20 6d | 69 73 73 69 6e 67 2c 20 |ent is m|issing, |
|00005f50| 74 68 69 73 0d 0a 20 20 | 69 73 20 61 73 73 75 6d |this.. |is assum|
|00005f60| 65 64 20 74 6f 20 62 65 | 20 61 6e 20 65 72 72 6f |ed to be| an erro|
|00005f70| 72 20 61 6e 64 20 61 6e | 20 65 72 72 6f 72 20 6d |r and an| error m|
|00005f80| 65 73 73 61 67 65 20 69 | 73 20 67 69 76 65 6e 2e |essage i|s given.|
|00005f90| 0d 0a 2a 2f 0d 0a 0d 0a | 23 69 6e 63 6c 75 64 65 |..*/....|#include|
|00005fa0| 20 3c 73 74 64 69 6f 2e | 68 3e 0d 0a 23 69 6e 63 | <stdio.|h>..#inc|
|00005fb0| 6c 75 64 65 20 3c 70 72 | 6f 63 65 73 73 2e 68 3e |lude <pr|ocess.h>|
|00005fc0| 0d 0a 23 69 6e 63 6c 75 | 64 65 20 3c 65 72 72 6e |..#inclu|de <errn|
|00005fd0| 6f 2e 68 3e 0d 0a 0d 0a | 2f 2a 74 68 65 20 73 79 |o.h>....|/*the sy|
|00005fe0| 73 74 65 6d 20 65 72 72 | 6f 72 20 6c 69 73 74 20 |stem err|or list |
|00005ff0| 69 73 20 6b 6e 6f 77 6e | 20 61 74 20 6c 69 6e 6b |is known| at link|
|00006000| 20 74 69 6d 65 2a 2f 0d | 0a 65 78 74 65 72 6e 20 | time*/.|.extern |
|00006010| 63 68 61 72 20 2a 73 79 | 73 5f 65 72 72 6c 69 73 |char *sy|s_errlis|
|00006020| 74 20 5b 5d 3b 0d 0a 0d | 0a 2f 2a 64 65 66 69 6e |t [];...|./*defin|
|00006030| 65 20 61 20 66 65 77 20 | 6d 61 63 72 6f 73 20 77 |e a few |macros w|
|00006040| 65 20 63 61 6e 20 75 73 | 65 2a 2f 0d 0a 23 64 65 |e can us|e*/..#de|
|00006050| 66 69 6e 65 20 6d 69 6e | 28 78 2c 79 29 20 28 28 |fine min|(x,y) ((|
|00006060| 78 29 3c 28 79 29 29 20 | 3f 20 28 78 29 3a 28 79 |x)<(y)) |? (x):(y|
|00006070| 29 0d 0a 23 64 65 66 69 | 6e 65 20 6c 70 70 20 36 |)..#defi|ne lpp 6|
|00006080| 36 0d 0a 0d 0a 2f 2a 70 | 72 6f 74 6f 74 79 70 65 |6..../*p|rototype|
|00006090| 20 64 65 66 69 6e 69 74 | 69 6f 6e 73 20 2d 2d 2a | definit|ions --*|
|000060a0| 2f 0d 0a 76 6f 69 64 20 | 6d 61 69 6e 20 28 69 6e |/..void |main (in|
|000060b0| 74 2c 20 63 68 61 72 20 | 2a 2a 29 3b 0d 0a 76 6f |t, char |**);..vo|
|000060c0| 69 64 20 6e 65 73 74 69 | 6e 67 20 28 75 6e 73 69 |id nesti|ng (unsi|
|000060d0| 67 6e 65 64 20 2a 2c 20 | 63 68 61 72 20 2a 29 3b |gned *, |char *);|
|000060e0| 0d 0a 63 68 61 72 20 2a | 66 67 65 74 73 74 72 20 |..char *|fgetstr |
|000060f0| 28 63 68 61 72 20 2a 2c | 20 69 6e 74 2c 20 46 49 |(char *,| int, FI|
|00006100| 4c 45 20 2a 29 3b 0d 0a | 76 6f 69 64 20 65 72 72 |LE *);..|void err|
|00006110| 65 78 69 74 20 28 75 6e | 73 69 67 6e 65 64 29 3b |exit (un|signed);|
|00006120| 0d 0a 0d 0a 2f 2a 4d 61 | 69 6e 20 2d 20 6f 70 65 |..../*Ma|in - ope|
|00006130| 6e 20 74 68 65 20 66 69 | 72 73 74 20 61 6e 64 20 |n the fi|rst and |
|00006140| 73 65 63 6f 6e 64 20 61 | 72 67 75 6d 65 6e 74 73 |second a|rguments|
|00006150| 20 61 6e 64 20 70 72 6f | 63 65 65 64 0d 0a 09 20 | and pro|ceed... |
|00006160| 61 73 20 69 6e 20 50 72 | 6f 67 31 2a 2f 0d 0a 76 |as in Pr|og1*/..v|
|00006170| 6f 69 64 20 6d 61 69 6e | 20 28 61 72 67 63 2c 20 |oid main| (argc, |
|00006180| 61 72 67 76 29 0d 0a 20 | 20 20 20 69 6e 74 20 61 |argv).. | int a|
|00006190| 72 67 63 3b 0d 0a 20 20 | 20 20 63 68 61 72 20 2a |rgc;.. | char *|
|000061a0| 61 72 67 76 5b 5d 3b 0d | 0a 7b 0d 0a 20 20 20 20 |argv[];.|.{.. |
|000061b0| 46 49 4c 45 20 2a 69 6e | 70 75 74 2c 2a 6f 75 74 |FILE *in|put,*out|
|000061c0| 70 75 74 3b 0d 0a 20 20 | 20 20 63 68 61 72 20 73 |put;.. | char s|
|000061d0| 74 72 69 6e 67 5b 32 35 | 36 5d 3b 0d 0a 20 20 20 |tring[25|6];.. |
|000061e0| 20 75 6e 73 69 67 6e 65 | 64 20 6c 69 6e 65 6e 75 | unsigne|d linenu|
|000061f0| 6d 2c 6c 65 76 65 6c 2c | 6e 65 77 6c 65 76 65 6c |m,level,|newlevel|
|00006200| 3b 0d 0a 0d 0a 20 20 20 | 20 69 66 20 28 61 72 67 |;.... | if (arg|
|00006210| 63 20 3e 20 33 20 7c 7c | 20 61 72 67 63 20 3c 20 |c > 3 ||| argc < |
|00006220| 32 29 20 20 20 20 20 20 | 20 20 20 20 2f 2a 77 72 |2) | /*wr|
|00006230| 6f 6e 67 20 6e 75 6d 62 | 65 72 20 61 72 67 73 3f |ong numb|er args?|
|00006240| 2a 2f 0d 0a 20 20 20 20 | 20 20 20 20 20 65 72 72 |*/.. | err|
|00006250| 65 78 69 74 20 28 31 29 | 3b 0d 0a 0d 0a 20 20 20 |exit (1)|;.... |
|00006260| 20 69 66 20 28 28 69 6e | 70 75 74 20 3d 20 66 6f | if ((in|put = fo|
|00006270| 70 65 6e 20 28 61 72 67 | 76 5b 31 5d 2c 20 22 72 |pen (arg|v[1], "r|
|00006280| 22 29 29 20 3d 3d 20 30 | 29 20 2f 2a 67 65 74 20 |")) == 0|) /*get |
|00006290| 69 6e 70 75 74 20 66 69 | 6c 65 2a 2f 0d 0a 20 20 |input fi|le*/.. |
|000062a0| 20 20 20 20 20 20 20 65 | 72 72 65 78 69 74 20 28 | e|rrexit (|
|000062b0| 32 29 3b 0d 0a 0d 0a 20 | 20 20 20 69 66 20 28 61 |2);.... | if (a|
|000062c0| 72 67 63 20 3d 3d 20 32 | 29 20 20 20 20 20 20 20 |rgc == 2|) |
|000062d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2f 2a | | /*|
|000062e0| 69 66 20 6e 6f 20 6f 75 | 74 70 75 74 20 66 69 6c |if no ou|tput fil|
|000062f0| 65 2e 2e 2e 2a 2f 0d 0a | 20 20 20 20 20 20 20 20 |e...*/..| |
|00006300| 20 6f 75 74 70 75 74 20 | 3d 20 73 74 64 6f 75 74 | output |= stdout|
|00006310| 3b 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2f |; | /|
|00006320| 2a 2e 2e 2e 75 73 65 20 | 73 74 64 6f 75 74 2c 20 |*...use |stdout, |
|00006330| 65 6c 73 65 2e 2e 2e 2a | 2f 0d 0a 20 20 20 20 65 |else...*|/.. e|
|00006340| 6c 73 65 20 7b 20 20 20 | 20 20 20 20 20 20 20 20 |lse { | |
|00006350| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006360| 20 20 2f 2a 2e 2e 2e 6f | 70 65 6e 20 6f 75 74 70 | /*...o|pen outp|
|00006370| 75 74 20 66 69 6c 65 2a | 2f 0d 0a 20 20 20 20 20 |ut file*|/.. |
|00006380| 20 20 20 20 69 66 20 28 | 28 6f 75 74 70 75 74 20 | if (|(output |
|00006390| 3d 20 66 6f 70 65 6e 20 | 28 61 72 67 76 5b 32 5d |= fopen |(argv[2]|
|000063a0| 2c 20 22 72 22 29 29 20 | 21 3d 20 30 29 0d 0a 20 |, "r")) |!= 0).. |
|000063b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 65 72 72 | | err|
|000063c0| 65 78 69 74 20 28 33 29 | 3b 20 20 20 20 20 20 20 |exit (3)|; |
|000063d0| 20 20 20 20 20 20 2f 2a | 66 69 6c 65 20 65 78 69 | /*|file exi|
|000063e0| 73 74 73 20 61 6c 72 65 | 61 64 79 21 2a 2f 0d 0a |sts alre|ady!*/..|
|000063f0| 20 20 20 20 20 20 20 20 | 20 66 63 6c 6f 73 65 20 | | fclose |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.