rm_pis.c
来自「NIST Handwriting OCR Testbed」· C语言 代码 · 共 23 行
C
23 行
/*# proc: remove_from_pi_lists - removes the specified list of phrase indices# proc: from the given lists of indices.*/#include <stdio.h>/***************************************************************************/remove_from_pi_lists(i, pi_lists, pi_lens, end)int i, end;int *pi_lists[], *pi_lens;{ int j; if(i >= end) fatalerr("remove_from_pi_lists", "index off end of lists", NULL); free(pi_lists[i]); for(j = i+1; j < end; j++){ pi_lists[j-1] = pi_lists[j]; pi_lens[j-1] = pi_lens[j]; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?