⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 strppath.c

📁 NIST Handwriting OCR Testbed
💻 C
字号:
/*# proc: strippath - takes a full pathname and returns a pointer to the# proc:             information to the right of the rightmost directory level.*//************************************************************//*         Routine:   Strippath()                           *//*         Author:    Michael D. Garris                     *//*         Date:      4/26/89                               *//************************************************************//************************************************************//* Takes a filename string and returns just the root name.  *//************************************************************/void strippath(imagefile,fptr)char *imagefile,**fptr;{   char *ptr;   ptr = (char *)(imagefile + strlen(imagefile));   while((ptr != imagefile) && (*ptr != '/'))      ptr--;   if(*ptr == '/')      ptr++;   *fptr = ptr;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -