misc.c

来自「牛顿插值方法求解多项式的系数」· C语言 代码 · 共 35 行

C
35
字号
/* * (c) Copyright 1992 by Panagiotis Tsirigotis * (c) Portions Copyright 1998-2001 by Rob Braun * All rights reserved.  The file named COPYRIGHT specifies the terms  * and conditions for redistribution. */#include "config.h"#include <stdlib.h>#include <string.h>/* * MISCELLANEOUS FUNCTIONS */#include "misc.h"/* * We always return a pointer in pathname */#if !defined(linux)char *basename( char *pathname ){   char *s = strrchr( pathname, '/' ) ;   if ( s == NULL )      return( pathname ) ;   else      return( s+1 ) ;}#endif

⌨️ 快捷键说明

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