groups.c
来自「NIST Handwriting OCR Testbed」· C语言 代码 · 共 24 行
C
24 行
/*# proc: int_groups - determines the number of contiguous groupings of# proc: characters belonging to a given set within another string.*/int_groups(alignment, alen, set)int *alignment, alen;char *set;{ int i, count; count = 0; i = 0; while(i < alen){ while((i < alen) && (!is_in_int_set(alignment[i], set))) i++; if(i < alen) count++; while((i < alen) && (is_in_int_set(alignment[i], set))) i++; } return(count);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?