home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / compiler / small_c / cb / sources / index.c < prev    next >
Unknown  |  1985-07-22  |  512 b 

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Compact Compressed (Unix) (archive/compact) ext Supported
100% file data default
100% gt2 Kopftext: '/* default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 0d 0a 2f 2a 0d 0a 2a 2a | 20 69 6e 64 65 78 2e 63 |../*..**| index.c|
|00000010| 20 2d 2d 20 66 69 6e 64 | 20 63 68 61 72 61 63 74 | -- find| charact|
|00000020| 65 72 20 63 20 69 6e 20 | 73 74 72 69 6e 67 20 73 |er c in |string s|
|00000030| 74 72 0d 0a 2a 2f 0d 0a | 69 6e 64 65 78 28 73 74 |tr..*/..|index(st|
|00000040| 72 2c 20 63 29 20 63 68 | 61 72 20 73 74 72 5b 5d |r, c) ch|ar str[]|
|00000050| 2c 20 63 3b 20 7b 0d 0a | 20 20 69 6e 74 20 69 3b |, c; {..| int i;|
|00000060| 0d 0a 20 20 69 3d 2d 31 | 3b 0d 0a 20 20 77 68 69 |.. i=-1|;.. whi|
|00000070| 6c 65 28 73 74 72 5b 2b | 2b 69 5d 21 3d 4e 55 4c |le(str[+|+i]!=NUL|
|00000080| 4c 29 20 69 66 28 73 74 | 72 5b 69 5d 3d 3d 63 29 |L) if(st|r[i]==c)|
|00000090| 20 72 65 74 75 72 6e 20 | 69 3b 0d 0a 20 20 72 65 | return |i;.. re|
|000000a0| 74 75 72 6e 20 2d 31 3b | 0d 0a 20 20 7d 0d 0a 1a |turn -1;|.. }...|
|000000b0| 0a 1a 0a 1a 1a 0d 0a 1a | 0d 0a 1a 0b 30 7c b5 ca |........|....0|..|
|000000c0| d1 39 21 00 00 39 e5 21 | 30 00 d1 cd d0 2f c3 dd |.9!..9.!|0..../..|
|000000d0| 39 21 00 00 39 e5 21 37 | 00 d1 cd d0 2f 21 08 00 |9!..9.!7|..../!..|
|000000e0| 39 cd c8 2f e5 21 08 00 | 39 e5 cd c8 2f 2b d1 cd |9../.!..|9.../+..|
|000000f0| d0 2f d1 19 e5 21 04 00 | 39 cd c8 2f e5 21 04 00 |./...!..|9../.!..|
|00000100| aa cd c8 2f d1 19 d1 cd | cd 2f 21 0a 00 39 cd c8 |.../....|./!..9..|
|00000110| 2f e5 21 00 00 d1 cd eb | 2f 7c b5 ca 21 3a c3 24 |/.!.....|/|..!:.$|
|00000120| 3a c3 67 39 21 06 00 39 | cd c8 2f 7c b5 ca 52 3a |:.g9!..9|../|..R:|
|00000130| 21 08 00 39 cd c8 2f e5 | 21 08 00 39 e5 cd c8 2f |!..9../.|!..9.../|
|00000140| 2b d1 cd d0 2f d1 19 e5 | 21 20 00 d1 cd cd 2f c3 |+.../...|! ..../.|
|00000150| 24 3a c1 c1 c9 c5 c5 c5 | c5 c5 c5 c5 c5 3b 3b eb |$:......|.....;;.|
|00000160| 21 f9 1a 39 f9 eb c5 3b | 21 03 00 39 e5 21 06 00 |!..9...;|!..9.!..|
|00000170| d1 19 e5 21 00 00 d1 cd | cd 2f 21 1e 00 39 e5 21 |...!....|./!..9.!|
|00000180| 20 00 39 e5 21 02 00 e5 | 21 24 00 39 cd c8 2f d1 | .9.!...|!$.9../.|
|00000190| cd 6f 30 d1 19 d1 cd d0 | 2f 21 0e 00 39 e5 21 20 |.o0.....|/!..9.! |
|000001a0| 00 39 cd c8 2f e5 21 02 | 00 d1 19 cd c8 2f d1 cd |.9../.!.|...../..|
|000001b0| d0 2f 21 0e 00 39 cd c8 | 2f cd c2 2f e5 21 3f 00 |./!..9..|/../.!?.|
|000001c0| d1 cd eb 2f 7c b5 ca e5 | 3a 21 10 00 39 e5 21 02 |.../|...|:!..9.!.|
|000001d0| 00 d1 cd d0 2f 21 0e 00 | 39 e5 cd c8 2f 23 d1 cd |..../!..|9.../#..|
|000001e0| d0 2f c3 f1 3a 21 10 00 | 39 e5 21 01 00 d1 cd d0 |./..:!..|9.!.....|
|000001f0| 2f 21 0b 00 39 e5 21 10 | 00 39 e5 cd c8 2f 23 d1 |/!..9.!.|.9.../#.|
+--------+-------------------------+-------------------------+--------+--------+