16 lines
266 B
C
16 lines
266 B
C
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <jstring.h>
|
|
|
|
void main()
|
|
{
|
|
JCHAR buffer[80];
|
|
JSTRING where;
|
|
|
|
strcpy( buffer, "video x-rays" );
|
|
where = jstrchr( buffer, 'x' );
|
|
if( where == NULL ) {
|
|
printf( "'x' not found\n" );
|
|
}
|
|
}
|