home *** CD-ROM | disk | FTP | other *** search
MacBinary | 2002-04-27 | 1.3 KB | [TEXT/LMAN] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Compact Compressed (Unix) (archive/compact)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Sat Apr 27 21:24:52 2002, modified Sat Apr 27 21:24:52 2002, creator 'LMAN', type ASCII, 764 bytes "Ex10_05.c" , at 0x37c 286 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [LMAN] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 09 45 78 31 30 5f 30 | 35 2e 63 00 00 00 00 00 |..Ex10_0|5.c.....|
|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 54 45 58 54 4c 4d 41 | 4e 00 00 ff ff ff ff 00 |.TEXTLMA|N.......|
|00000050| 00 00 00 00 00 02 fc 00 | 00 01 1e b8 f0 ff e4 b8 |........|........|
|00000060| f0 ff e4 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 39 46 00 00 |........|....9F..|
|00000080| 23 69 6e 63 6c 75 64 65 | 20 3c 73 74 64 69 6f 2e |#include| <stdio.|
|00000090| 68 3e 0d 0a 0d 0a 23 64 | 65 66 69 6e 65 20 53 49 |h>....#d|efine SI|
|000000a0| 5a 45 20 31 30 0d 0a 0d | 0a 2f 2a 20 66 75 6e 63 |ZE 10...|./* func|
|000000b0| 74 69 6f 6e 20 70 72 6f | 74 6f 74 79 70 65 73 20 |tion pro|totypes |
|000000c0| 2a 2f 0d 0a 76 6f 69 64 | 20 63 6f 70 79 61 72 72 |*/..void| copyarr|
|000000d0| 61 79 73 28 20 69 6e 74 | 20 5b 5d 2c 20 69 6e 74 |ays( int| [], int|
|000000e0| 20 5b 5d 29 3b 0d 0a 0d | 0a 69 6e 74 20 6d 61 69 | []);...|.int mai|
|000000f0| 6e 28 20 76 6f 69 64 20 | 29 0d 0a 7b 0d 0a 20 20 |n( void |)..{.. |
|00000100| 20 20 69 6e 74 20 63 74 | 72 3d 30 3b 0d 0a 20 20 | int ct|r=0;.. |
|00000110| 20 20 69 6e 74 20 61 5b | 53 49 5a 45 5d 20 3d 20 | int a[|SIZE] = |
|00000120| 7b 31 2c 20 32 2c 20 33 | 2c 20 34 2c 20 35 2c 20 |{1, 2, 3|, 4, 5, |
|00000130| 36 2c 20 37 2c 20 38 2c | 20 39 2c 20 31 30 7d 3b |6, 7, 8,| 9, 10};|
|00000140| 0d 0a 20 20 20 20 69 6e | 74 20 62 5b 53 49 5a 45 |.. in|t b[SIZE|
|00000150| 5d 3b 0d 0a 0d 0a 20 20 | 20 20 2f 2a 20 76 61 6c |];.... | /* val|
|00000160| 75 65 73 20 62 65 66 6f | 72 65 20 63 6f 70 79 20 |ues befo|re copy |
|00000170| 2a 2f 0d 0a 20 20 20 20 | 66 6f 72 20 28 63 74 72 |*/.. |for (ctr|
|00000180| 20 3d 20 30 3b 20 63 74 | 72 20 3c 20 53 49 5a 45 | = 0; ct|r < SIZE|
|00000190| 3b 20 63 74 72 20 2b 2b | 20 29 0d 0a 20 20 20 20 |; ctr ++| ).. |
|000001a0| 7b 0d 0a 20 20 20 20 20 | 20 20 70 72 69 6e 74 66 |{.. | printf|
|000001b0| 28 20 22 61 5b 25 64 5d | 20 3d 20 25 64 2c 20 62 |( "a[%d]| = %d, b|
|000001c0| 5b 25 64 5d 20 3d 20 25 | 64 5c 6e 22 2c 0d 0a 20 |[%d] = %|d\n",.. |
|000001d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 63 74 | | ct|
|000001e0| 72 2c 20 61 5b 63 74 72 | 5d 2c 20 63 74 72 2c 20 |r, a[ctr|], ctr, |
|000001f0| 62 5b 63 74 72 5d 29 3b | 0d 0a 20 20 20 20 7d 0d |b[ctr]);|.. }.|
|00000200| 0a 0d 0a 20 20 20 20 63 | 6f 70 79 61 72 72 61 79 |... c|opyarray|
|00000210| 73 28 61 2c 20 62 29 3b | 0d 0a 0d 0a 20 20 20 20 |s(a, b);|.... |
|00000220| 2f 2a 20 76 61 6c 75 65 | 73 20 61 66 74 65 72 20 |/* value|s after |
|00000230| 63 6f 70 79 20 2a 2f 0d | 0a 20 20 20 20 66 6f 72 |copy */.|. for|
|00000240| 20 28 63 74 72 20 3d 20 | 30 3b 20 63 74 72 20 3c | (ctr = |0; ctr <|
|00000250| 20 53 49 5a 45 3b 20 63 | 74 72 20 2b 2b 20 29 0d | SIZE; c|tr ++ ).|
|00000260| 0a 20 20 20 20 7b 0d 0a | 20 20 20 20 20 20 20 70 |. {..| p|
|00000270| 72 69 6e 74 66 28 20 22 | 61 5b 25 64 5d 20 3d 20 |rintf( "|a[%d] = |
|00000280| 25 64 2c 20 62 5b 25 64 | 5d 20 3d 20 25 64 5c 6e |%d, b[%d|] = %d\n|
|00000290| 22 2c 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |",.. | |
|000002a0| 20 20 20 63 74 72 2c 20 | 61 5b 63 74 72 5d 2c 20 | ctr, |a[ctr], |
|000002b0| 63 74 72 2c 20 62 5b 63 | 74 72 5d 29 3b 0d 0a 20 |ctr, b[c|tr]);.. |
|000002c0| 20 20 20 7d 0d 0a 0d 0a | 20 20 20 20 72 65 74 75 | }....| retu|
|000002d0| 72 6e 20 30 3b 0d 0a 7d | 0d 0a 0d 0a 76 6f 69 64 |rn 0;..}|....void|
|000002e0| 20 63 6f 70 79 61 72 72 | 61 79 73 28 20 69 6e 74 | copyarr|ays( int|
|000002f0| 20 6f 72 69 67 5b 5d 2c | 20 69 6e 74 20 6e 65 77 | orig[],| int new|
|00000300| 6f 6e 65 5b 5d 29 0d 0a | 7b 0d 0a 20 20 20 20 69 |one[])..|{.. i|
|00000310| 6e 74 20 63 74 72 20 3d | 20 30 3b 0d 0a 0d 0a 20 |nt ctr =| 0;.... |
|00000320| 20 20 20 66 6f 72 20 28 | 63 74 72 20 3d 20 30 3b | for (|ctr = 0;|
|00000330| 20 63 74 72 20 3c 20 53 | 49 5a 45 3b 20 63 74 72 | ctr < S|IZE; ctr|
|00000340| 20 2b 2b 20 29 0d 0a 20 | 20 20 20 7b 0d 0a 20 20 | ++ ).. | {.. |
|00000350| 20 20 20 20 20 20 6e 65 | 77 6f 6e 65 5b 63 74 72 | ne|wone[ctr|
|00000360| 5d 20 3d 20 6f 72 69 67 | 5b 63 74 72 5d 3b 0d 0a |] = orig|[ctr];..|
|00000370| 20 20 20 20 7d 0d 0a 7d | 0d 0a 0d 0a 00 00 00 00 | }..}|........|
|00000380| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000390| 54 68 69 73 20 72 65 73 | 6f 75 72 63 65 20 66 6f |This res|ource fo|
|000003a0| 72 6b 20 69 6e 74 65 6e | 74 69 6f 6e 61 6c 6c 79 |rk inten|tionally|
|000003b0| 20 6c 65 66 74 20 62 6c | 61 6e 6b 20 20 20 00 00 | left bl|ank ..|
|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 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 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 |........|........|
+--------+-------------------------+-------------------------+--------+--------+