could you forward the requirement of the first two weeks practice?
Please write a c program verify the file SCHORD.
Please write a c tools to check whehter thers is LOOP,if Yes,output the chain and point it out.
D8 00 means the file header (00D8),the data start from offset 00D8.
00000000h: D8 00 10 00 10 00 10 00 38 09 B9 7B 00 00 00 00 ; ?……8.?….
00000010h: B4 00 00 00 53 43 48 4F 52 44 47 4D 2E 50 41 43 ; ?..SCHORDGM.PAC
00000020h: 20 33 2E 32 2D 30 20 2A 2A 2F 2A 2A 2F 2A 2A 20 ; 3.2-0 **/**/**
00000030h: 4D 44 4D 4A 41 30 30 35 2E 50 41 43 20 38 2E 35 ; MDMJA005.PAC 8.5
00000040h: 2D 30 20 20 20 20 43 49 44 4F 32 31 4D 4A 20 31 ; -0 CIDO21MJ 1
00000050h: 2E 37 2D 30 20 38 2E 31 2D 30 00 00 00 00 00 00 ; .7-0 8.1-0……
00000060h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; …………….
00000070h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; …………….
00000080h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; …………….
00000090h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; …………….
000000a0h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; …………….
000000b0h: 00 00 00 00 03 00 24 00 05 00 33 00 C8 21 00 00 ; ……$…3.?..
000000c0h: 00 00 00 00 00 00 00 FF 80 00 00 00 04 00 00 00 ; …….?
>> 本文固定链接: http://www.vcgood.com/archives/2573
>> 转载请注明: jiangyichao 2008年07月31日 于 C语言帝国 发表
呃,帮不了你。
找高手吧。
这个怎么有点象测试程序,不过我也看不懂