This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/WATCOM/samples/clibexam/kanji/jstrchr.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" );
}
}