home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 12 / BBS in a box XII-2.iso / Files II / Prog / B-C / C++Source Code Fmtr.sit / Tests / Example.cp < prev    next >
MacBinary  |  1991-01-10  |  1.0 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Example.cp

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert MS-DOS Code Page Info (other/dosCodePage) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Thu Jan 10 08:58:24 1991, modified Thu Jan 10 08:58:24 1991, creator 'MPS ', type ASCII, 271 bytes "Example.cp" , at 0x18f 428 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
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 45 78 61 6d 70 6c | 65 2e 63 70 00 00 00 00 |..Exampl|e.cp....|
|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 4d 50 53 | 20 00 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 01 0f 00 | 00 01 ac a3 b2 23 80 a3 |........|.....#..|
|00000060| b2 23 80 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 de fa 00 00 |........|........|
|00000080| 76 6f 69 64 20 66 6f 6f | 28 69 6e 74 20 78 2c 0d |void foo|(int x,.|
|00000090| 09 09 20 69 6e 74 20 79 | 29 0d 7b 0d 09 69 66 20 |.. int y|).{..if |
|000000a0| 28 78 20 3e 20 79 29 0d | 09 09 72 65 74 75 72 6e |(x > y).|..return|
|000000b0| 20 74 72 75 65 3b 0d 09 | 65 6c 73 65 0d 09 09 2f | true;..|else.../|
|000000c0| 2f 20 48 65 72 65 20 63 | 6f 6d 65 73 20 74 68 65 |/ Here c|omes the|
|000000d0| 20 70 72 6f 62 6c 65 6d | 2c 20 69 74 20 64 6f 65 | problem|, it doe|
|000000e0| 73 6e 27 74 20 6d 61 74 | 74 65 72 20 77 68 61 74 |sn't mat|ter what|
|000000f0| 20 6b 69 6e 64 20 6f 66 | 20 63 6f 6d 70 6f 75 6e | kind of| compoun|
|00000100| 64 20 73 74 61 74 65 6d | 65 6e 74 0d 09 09 2f 2f |d statem|ent...//|
|00000110| 20 49 20 70 75 74 20 68 | 65 72 65 2c 20 61 73 20 | I put h|ere, as |
|00000120| 6c 6f 6e 67 20 61 73 20 | 69 74 20 68 61 73 20 63 |long as |it has c|
|00000130| 75 72 6c 79 20 62 72 61 | 63 65 73 2e 20 54 68 69 |urly bra|ces. Thi|
|00000140| 73 20 63 6f 6d 6d 65 6e | 74 20 68 61 73 20 6e 6f |s commen|t has no|
|00000150| 74 20 61 66 66 65 63 74 | 2e 0d 0d 09 09 66 6f 72 |t affect|.....for|
|00000160| 20 28 69 20 3d 20 30 3b | 20 69 20 3c 20 78 3b 20 | (i = 0;| i < x; |
|00000170| 69 2b 2b 29 0d 09 09 7b | 0d 09 09 09 70 72 69 6e |i++)...{|....prin|
|00000180| 74 66 28 69 29 3b 0d 09 | 09 7d 0d 7d 0d 0d 0d 00 |tf(i);..|.}.}....|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|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 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00000210| 00 00 74 ca 11 55 49 6e | 73 70 65 63 74 6f 72 2e |..t..UIn|spector.|
|00000220| 69 6e 63 31 2e 70 02 00 | 00 00 54 45 58 54 4d 50 |inc1.p..|..TEXTMP|
|00000230| 0a 45 78 61 6d 70 6c 65 | 2e 63 70 01 02 00 00 00 |.Example|.cp.....|
|00000240| 50 61 72 74 53 49 54 78 | 00 00 00 00 00 00 00 00 |PartSITx|........|
|00000250| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 a9 80 16 a5 00 00 | 00 00 00 00 01 ac 00 01 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 0e 00 00 00 |........|........|
|00000290| 74 ca 08 55 4c 69 73 74 | 2e 63 70 2d 02 00 00 00 |t..UList|.cp-....|
|000002a0| 54 45 58 54 4d 50 53 20 | 01 00 ff ff ff ff 00 00 |TEXTMPS |........|
|000002b0| 00 00 8c bc 00 00 00 01 | 11 de 00 01 14 00 00 00 |........|........|
|000002c0| 00 00 02 34 00 00 06 00 | a3 97 93 eb a3 b0 eb 13 |...4....|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 79 31 | 00 2e 00 00 00 00 00 00 |......y1|........|
|000002f0| 00 00 79 61 00 01 00 00 | 00 00 00 00 00 00 00 00 |..ya....|........|
|00000300| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 28 69 6e |...H..Mo|naco.(in|
|00000310| 74 20 78 2c 20 69 6e 74 | 20 79 29 0d 7b 0d 09 69 |t x, int| y).{..i|
|00000320| 66 20 28 78 20 3e 00 06 | 00 04 00 27 00 02 01 76 |f (x >..|...'...v|
|00000330| 01 fe 00 27 00 00 01 85 | 01 fe a3 b1 dd 30 00 00 |...'....|.....0..|
|00000340| 00 d9 00 00 00 d9 00 00 | 00 00 01 00 00 00 00 1e |........|........|
|00000350| 00 27 00 02 01 76 01 fe | 00 27 00 00 01 85 01 fe |.'...v..|.'......|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 00 40 |.....n..|.n...>.@|
|00000380| 31 68 08 d2 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |1h......|.>..MPSR|
|00000390| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 03 f0 ff ff 00 00 00 4c | 00 42 1e 34 00 00 00 00 |.......L|.B.4....|
|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 |........|........|
+--------+-------------------------+-------------------------+--------+--------+