home *** CD-ROM | disk | FTP | other *** search
MacBinary | 2002-04-07 | 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, Sun Apr 7 17:29:56 2002, modified Sun Apr 7 17:29:56 2002, creator 'LMAN', type ASCII, 644 bytes "multiply.c" , at 0x304 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 0a 6d 75 6c 74 69 70 | 6c 79 2e 63 00 00 00 00 |..multip|ly.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 84 00 | 00 01 1e b8 d6 6a d4 b8 |........|.....j..|
|00000060| d6 6a d4 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.j......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 77 f1 00 00 |........|....w...|
|00000080| 2f 2a 20 50 72 6f 67 72 | 61 6d 20 74 6f 20 63 61 |/* Progr|am to ca|
|00000090| 6c 63 75 6c 61 74 65 20 | 74 68 65 20 70 72 6f 64 |lculate |the prod|
|000000a0| 75 63 74 20 6f 66 20 74 | 77 6f 20 6e 75 6d 62 65 |uct of t|wo numbe|
|000000b0| 72 73 2e 20 2a 2f 0d 0a | 23 69 6e 63 6c 75 64 65 |rs. */..|#include|
|000000c0| 20 3c 73 74 64 69 6f 2e | 68 3e 0d 0a 0d 0a 69 6e | <stdio.|h>....in|
|000000d0| 74 20 76 61 6c 31 2c 20 | 76 61 6c 32 2c 20 76 61 |t val1, |val2, va|
|000000e0| 6c 33 3b 0d 0a 0d 0a 69 | 6e 74 20 70 72 6f 64 75 |l3;....i|nt produ|
|000000f0| 63 74 28 69 6e 74 20 78 | 2c 20 69 6e 74 20 79 29 |ct(int x|, int y)|
|00000100| 3b 0d 0a 0d 0a 69 6e 74 | 20 6d 61 69 6e 28 20 76 |;....int| main( v|
|00000110| 6f 69 64 20 29 0d 0a 7b | 0d 0a 20 20 20 2f 2a 20 |oid )..{|.. /* |
|00000120| 47 65 74 20 74 68 65 20 | 66 69 72 73 74 20 6e 75 |Get the |first nu|
|00000130| 6d 62 65 72 20 2a 2f 0d | 0a 20 20 20 70 72 69 6e |mber */.|. prin|
|00000140| 74 66 28 22 45 6e 74 65 | 72 20 61 20 6e 75 6d 62 |tf("Ente|r a numb|
|00000150| 65 72 20 62 65 74 77 65 | 65 6e 20 31 20 61 6e 64 |er betwe|en 1 and|
|00000160| 20 31 30 30 3a 20 22 29 | 3b 0d 0a 20 20 20 73 63 | 100: ")|;.. sc|
|00000170| 61 6e 66 28 22 25 64 22 | 2c 20 26 76 61 6c 31 29 |anf("%d"|, &val1)|
|00000180| 3b 0d 0a 0d 0a 20 20 20 | 2f 2a 20 47 65 74 20 74 |;.... |/* Get t|
|00000190| 68 65 20 73 65 63 6f 6e | 64 20 6e 75 6d 62 65 72 |he secon|d number|
|000001a0| 20 2a 2f 0d 0a 20 20 20 | 70 72 69 6e 74 66 28 22 | */.. |printf("|
|000001b0| 45 6e 74 65 72 20 61 6e | 6f 74 68 65 72 20 6e 75 |Enter an|other nu|
|000001c0| 6d 62 65 72 20 62 65 74 | 77 65 65 6e 20 31 20 61 |mber bet|ween 1 a|
|000001d0| 6e 64 20 31 30 30 3a 20 | 22 29 3b 0d 0a 20 20 20 |nd 100: |");.. |
|000001e0| 73 63 61 6e 66 28 22 25 | 64 22 2c 20 26 76 61 6c |scanf("%|d", &val|
|000001f0| 32 29 3b 0d 0a 0d 0a 20 | 20 20 2f 2a 20 43 61 6c |2);.... | /* Cal|
|00000200| 63 75 6c 61 74 65 20 61 | 6e 64 20 64 69 73 70 6c |culate a|nd displ|
|00000210| 61 79 20 74 68 65 20 70 | 72 6f 64 75 63 74 20 2a |ay the p|roduct *|
|00000220| 2f 0d 0a 20 20 20 76 61 | 6c 33 20 3d 20 70 72 6f |/.. va|l3 = pro|
|00000230| 64 75 63 74 28 76 61 6c | 31 2c 20 76 61 6c 32 29 |duct(val|1, val2)|
|00000240| 3b 0d 0a 20 20 20 70 72 | 69 6e 74 66 20 28 22 25 |;.. pr|intf ("%|
|00000250| 64 20 74 69 6d 65 73 20 | 25 64 20 3d 20 25 64 5c |d times |%d = %d\|
|00000260| 6e 22 2c 20 76 61 6c 31 | 2c 20 76 61 6c 32 2c 20 |n", val1|, val2, |
|00000270| 76 61 6c 33 29 3b 0d 0a | 0d 0a 20 20 20 72 65 74 |val3);..|.. ret|
|00000280| 75 72 6e 20 30 3b 0d 0a | 7d 0d 0a 0d 0a 2f 2a 20 |urn 0;..|}..../* |
|00000290| 46 75 6e 63 74 69 6f 6e | 20 72 65 74 75 72 6e 73 |Function| returns|
|000002a0| 20 74 68 65 20 70 72 6f | 64 75 63 74 20 6f 66 20 | the pro|duct of |
|000002b0| 74 68 65 20 74 77 6f 20 | 76 61 6c 75 65 73 20 70 |the two |values p|
|000002c0| 72 6f 76 69 64 65 64 20 | 2a 2f 0d 0a 69 6e 74 20 |rovided |*/..int |
|000002d0| 70 72 6f 64 75 63 74 28 | 69 6e 74 20 78 2c 20 69 |product(|int x, i|
|000002e0| 6e 74 20 79 29 0d 0a 7b | 0d 0a 20 20 20 20 72 65 |nt y)..{|.. re|
|000002f0| 74 75 72 6e 20 28 78 20 | 2a 20 79 29 3b 0d 0a 7d |turn (x |* y);..}|
|00000300| 0d 0a 0d 0a 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 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 |........|........|
+--------+-------------------------+-------------------------+--------+--------+