code vault - char_posWhat links here?

Code

//##############################################################################
// return the position of c in string
// return -1 if c is not found
//##############################################################################


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; }
08/09/2010 - changed to return -1 on failure to find character, fixed erroneous test condition
code vault - char_pos
programming:windows:win32 structures
programming:windows:CreateWindow
programming:c:struct utimbuf
AutoCAD - Dialog Control Language (DCL) - (start_dialog)
FreeCAD - create object
X Windows Functions - Display *XOpenDisplay(display_name)
filename:code vault - char_pos
filename:code%20vault%20%2D%20char_pos
last edit:August 10 2010 00:07:22 (5898 days ago)
ct = 1791040314.000000 = October 03 2026 15:11:54
ft = 1281398842.000000 = August 10 2010 00:07:22
dt = 509641472.000000