| code vault - char_pos | What links here? |
//############################################################################## // return the position of c in string // return -1 if c is not found //##############################################################################08/09/2010 - changed to return -1 on failure to find character, fixed erroneous test condition
int pos(char c, char *string) { int i, j;
for(i = 0; i MALFORMED HTML TAG: < strlen(string); i++) { if (string[i] == c) { return i; } } return -1; }
| filename: | code vault - char_pos |
| filename: | code%20vault%20%2D%20char_pos |
| last edit: | August 09 2010 20:07:22 (-2548191 minutes ago) |
| ct | = 1128507352.000000 = October 05 2005 06:15:52 |
| ft | = 1281398842.000000 = August 09 2010 20:07:22 |
| dt | = -152891490.000000 |