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
Raspberry PI - add a network printer
programming - windows - WM_SETTEXT
linux - user administration
MC6802 - assembler - directives - equ
MC6802 - instruction set - Rotate Left Accumulator
MC6802 - assembler - directives - fill
Raspberry PI - add a user
MC6802 - instruction set - Arithmetic Shift Right Accumulator
linux - software
AutoCAD - Dialog Control Language (DCL) - (load_dialog dclfile)
MC6802 - instruction set - Decimal Adjust A
programming - target - X Windows (X11)
MC6802 - instruction set - Transfer CCR to Accumulator A
embedded systems - bacnet - Analog Input properties
Raspberry PI - BCM2835 C library
filename:code vault - char_pos
filename:code%20vault%20%2D%20char_pos
last edit:August 09 2010 20:07:22 (5513 days ago)
ct = 1757738126.000000 = September 13 2025 00:35:26
ft = 1281398842.000000 = August 09 2010 20:07:22
dt = 476339284.000000