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

📄 sttrimiws.c

📁 程序涵盖了设计FIR滤器的各种方法
💻 C
字号:
/*-------------- Telecommunications & Signal Processing Lab ---------------                             McGill UniversityRoutine:  char *STtrimIws (const char Si[])Purpose:  Trim leading white-spaceDescription:  This routine returns a pointer to the first character in a string that is not  white-space (as defined by isspace).  If the input string consists entirely  of white-space, this routine returns a pointer to the terminating null  character.Parameters:  <-  char *STrimIws      Pointer to the first non-white-space character   -> const char Si[]      Input character stringAuthor / revision:  P. Kabal  Copyright (C) 1999  $Revision: 1.6 $  $Date: 1999/06/04 22:34:58 $-------------------------------------------------------------------------*/static char rcsid[] = "$Id: STtrimIws.c 1.6 1999/06/04 FilterDesign-v4r0a $";#include <ctype.h>#include <libtsp/nucleus.h>char *STtrimIws (const char Si[]){  /* Find the first non-white-space character */  for (; isspace (*Si); ++Si)    ;  return ((char *) Si);}

⌨️ 快捷键说明

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