home *** CD-ROM | disk | FTP | other *** search
MacBinary | 2002-04-07 | 1.5 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 16:46:28 2002, modified Sun Apr 7 16:46:28 2002, creator 'LMAN', type ASCII, 910 bytes "const.c" , at 0x40e 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 07 63 6f 6e 73 74 2e | 63 00 00 00 00 00 00 00 |..const.|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 03 8e 00 | 00 01 1e b8 d6 60 a4 b8 |........|.....`..|
|00000060| d6 60 a4 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 09 d9 00 00 |........|........|
|00000080| 2f 2a 20 44 65 6d 6f 6e | 73 74 72 61 74 65 73 20 |/* Demon|strates |
|00000090| 76 61 72 69 61 62 6c 65 | 73 20 61 6e 64 20 63 6f |variable|s and co|
|000000a0| 6e 73 74 61 6e 74 73 20 | 2a 2f 0d 0a 23 69 6e 63 |nstants |*/..#inc|
|000000b0| 6c 75 64 65 20 3c 73 74 | 64 69 6f 2e 68 3e 0d 0a |lude <st|dio.h>..|
|000000c0| 0d 0a 2f 2a 20 44 65 66 | 69 6e 65 20 61 20 63 6f |../* Def|ine a co|
|000000d0| 6e 73 74 61 6e 74 20 74 | 6f 20 63 6f 6e 76 65 72 |nstant t|o conver|
|000000e0| 74 20 66 72 6f 6d 20 70 | 6f 75 6e 64 73 20 74 6f |t from p|ounds to|
|000000f0| 20 67 72 61 6d 73 20 2a | 2f 0d 0a 23 64 65 66 69 | grams *|/..#defi|
|00000100| 6e 65 20 47 52 41 4d 53 | 5f 50 45 52 5f 50 4f 55 |ne GRAMS|_PER_POU|
|00000110| 4e 44 20 34 35 34 0d 0a | 0d 0a 2f 2a 20 44 65 66 |ND 454..|../* Def|
|00000120| 69 6e 65 20 61 20 63 6f | 6e 73 74 61 6e 74 20 66 |ine a co|nstant f|
|00000130| 6f 72 20 74 68 65 20 73 | 74 61 72 74 20 6f 66 20 |or the s|tart of |
|00000140| 74 68 65 20 6e 65 78 74 | 20 63 65 6e 74 75 72 79 |the next| century|
|00000150| 20 2a 2f 0d 0a 63 6f 6e | 73 74 20 69 6e 74 20 54 | */..con|st int T|
|00000160| 41 52 47 45 54 5f 59 45 | 41 52 20 3d 20 32 30 31 |ARGET_YE|AR = 201|
|00000170| 30 3b 0d 0a 0d 0a 2f 2a | 20 44 65 63 6c 61 72 65 |0;..../*| Declare|
|00000180| 20 74 68 65 20 6e 65 65 | 64 65 64 20 76 61 72 69 | the nee|ded vari|
|00000190| 61 62 6c 65 73 20 2a 2f | 0d 0a 6c 6f 6e 67 20 77 |ables */|..long w|
|000001a0| 65 69 67 68 74 5f 69 6e | 5f 67 72 61 6d 73 2c 20 |eight_in|_grams, |
|000001b0| 77 65 69 67 68 74 5f 69 | 6e 5f 70 6f 75 6e 64 73 |weight_i|n_pounds|
|000001c0| 3b 0d 0a 69 6e 74 20 79 | 65 61 72 5f 6f 66 5f 62 |;..int y|ear_of_b|
|000001d0| 69 72 74 68 2c 20 61 67 | 65 5f 69 6e 5f 32 30 31 |irth, ag|e_in_201|
|000001e0| 30 3b 0d 0a 0d 0a 69 6e | 74 20 6d 61 69 6e 28 20 |0;....in|t main( |
|000001f0| 76 6f 69 64 20 29 0d 0a | 7b 0d 0a 20 20 20 20 2f |void )..|{.. /|
|00000200| 2a 20 49 6e 70 75 74 20 | 64 61 74 61 20 66 72 6f |* Input |data fro|
|00000210| 6d 20 75 73 65 72 20 2a | 2f 0d 0a 0d 0a 20 20 20 |m user *|/.... |
|00000220| 20 70 72 69 6e 74 66 28 | 22 45 6e 74 65 72 20 79 | printf(|"Enter y|
|00000230| 6f 75 72 20 77 65 69 67 | 68 74 20 69 6e 20 70 6f |our weig|ht in po|
|00000240| 75 6e 64 73 3a 20 22 29 | 3b 0d 0a 20 20 20 20 73 |unds: ")|;.. s|
|00000250| 63 61 6e 66 28 22 25 64 | 22 2c 20 26 77 65 69 67 |canf("%d|", &weig|
|00000260| 68 74 5f 69 6e 5f 70 6f | 75 6e 64 73 29 3b 0d 0a |ht_in_po|unds);..|
|00000270| 20 20 20 20 70 72 69 6e | 74 66 28 22 45 6e 74 65 | prin|tf("Ente|
|00000280| 72 20 79 6f 75 72 20 79 | 65 61 72 20 6f 66 20 62 |r your y|ear of b|
|00000290| 69 72 74 68 3a 20 22 29 | 3b 0d 0a 20 20 20 20 73 |irth: ")|;.. s|
|000002a0| 63 61 6e 66 28 22 25 64 | 22 2c 20 26 79 65 61 72 |canf("%d|", &year|
|000002b0| 5f 6f 66 5f 62 69 72 74 | 68 29 3b 0d 0a 0d 0a 20 |_of_birt|h);.... |
|000002c0| 20 20 20 2f 2a 20 50 65 | 72 66 6f 72 6d 20 63 6f | /* Pe|rform co|
|000002d0| 6e 76 65 72 73 69 6f 6e | 73 20 2a 2f 0d 0a 0d 0a |nversion|s */....|
|000002e0| 20 20 20 20 77 65 69 67 | 68 74 5f 69 6e 5f 67 72 | weig|ht_in_gr|
|000002f0| 61 6d 73 20 3d 20 77 65 | 69 67 68 74 5f 69 6e 5f |ams = we|ight_in_|
|00000300| 70 6f 75 6e 64 73 20 2a | 20 47 52 41 4d 53 5f 50 |pounds *| GRAMS_P|
|00000310| 45 52 5f 50 4f 55 4e 44 | 3b 0d 0a 20 20 20 20 61 |ER_POUND|;.. a|
|00000320| 67 65 5f 69 6e 5f 32 30 | 31 30 20 3d 20 54 41 52 |ge_in_20|10 = TAR|
|00000330| 47 45 54 5f 59 45 41 52 | 20 2d 20 79 65 61 72 5f |GET_YEAR| - year_|
|00000340| 6f 66 5f 62 69 72 74 68 | 3b 0d 0a 0d 0a 20 20 20 |of_birth|;.... |
|00000350| 20 2f 2a 20 44 69 73 70 | 6c 61 79 20 72 65 73 75 | /* Disp|lay resu|
|00000360| 6c 74 73 20 6f 6e 20 74 | 68 65 20 73 63 72 65 65 |lts on t|he scree|
|00000370| 6e 20 2a 2f 0d 0a 0d 0a | 20 20 20 20 70 72 69 6e |n */....| prin|
|00000380| 74 66 28 22 5c 6e 59 6f | 75 72 20 77 65 69 67 68 |tf("\nYo|ur weigh|
|00000390| 74 20 69 6e 20 67 72 61 | 6d 73 20 3d 20 25 6c 64 |t in gra|ms = %ld|
|000003a0| 22 2c 20 77 65 69 67 68 | 74 5f 69 6e 5f 67 72 61 |", weigh|t_in_gra|
|000003b0| 6d 73 29 3b 0d 0a 20 20 | 20 20 70 72 69 6e 74 66 |ms);.. | printf|
|000003c0| 28 22 5c 6e 49 6e 20 32 | 30 31 30 20 79 6f 75 20 |("\nIn 2|010 you |
|000003d0| 77 69 6c 6c 20 62 65 20 | 25 64 20 79 65 61 72 73 |will be |%d years|
|000003e0| 20 6f 6c 64 5c 6e 22 2c | 20 61 67 65 5f 69 6e 5f | old\n",| age_in_|
|000003f0| 32 30 31 30 29 3b 0d 0a | 0d 0a 20 20 20 20 72 65 |2010);..|.. re|
|00000400| 74 75 72 6e 20 30 3b 0d | 0a 7d 0d 0a 0d 0a 00 00 |turn 0;.|.}......|
|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| 54 68 69 73 20 72 65 73 | 6f 75 72 63 65 20 66 6f |This res|ource fo|
|000004a0| 72 6b 20 69 6e 74 65 6e | 74 69 6f 6e 61 6c 6c 79 |rk inten|tionally|
|000004b0| 20 6c 65 66 74 20 62 6c | 61 6e 6b 20 20 20 00 00 | left bl|ank ..|
|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 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 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 |........|........|
+--------+-------------------------+-------------------------+--------+--------+