代码搜索:SString
找到约 985 项符合「SString」的源代码
代码结果 985
www.eeworm.com/read/208856/15234176
cpp algo0401.cpp
#include "algo0403.cpp"
int Index(SString S, SString T, int pos) { // 算法4.1
// T为非空串。若主串S中第pos个字符之后存在与T相等的子串,
// 则返回第一个这样的子串在S中的位置,否则返回0
int n,m,i;
SString sub;
if (pos > 0) {
www.eeworm.com/read/206115/15299790
c bo4-1.c
/* bo4-1.c 串采用定长顺序存储结构(由c4-1.h定义)的基本操作(14个) */
/* SString是数组,故不需引用类型。此基本操作包括算法4.2,4.3,4.5 */
Status StrAssign(SString T,char *chars)
{ /* 生成一个其值等于chars的串T */
int i;
if(strlen(chars)>MAX
www.eeworm.com/read/205686/15309900
cpp utility.cpp
//////////////////////////////////////////////////////////////////////
//ICTCLAS简介:计算所汉语词法分析系统ICTCLAS(Institute of Computing Technology, Chinese Lexical Analysis System),
// 功能有:中文分词;词性标
www.eeworm.com/read/205686/15309914
cpp utility.cpp
//////////////////////////////////////////////////////////////////////
//ICTCLAS简介:计算所汉语词法分析系统ICTCLAS(Institute of Computing Technology, Chinese Lexical Analysis System),
// 功能有:中文分词;词性标
www.eeworm.com/read/475726/6776353
cpp algo0405.cpp
int Index(SString S, SString T, int pos) { // 算法4.5
// 返回子串T在主串S中第pos个字符之后的位置。
// 若不存在,则函数值为0。
// 其中,T非空,1≤pos≤StrLength(S)。
int i = pos;
int j = 1;
while (i
www.eeworm.com/read/475726/6776354
cpp algo0401.cpp
#include "algo0403.cpp"
int Index(SString S, SString T, int pos) { // 算法4.1
// T为非空串。若主串S中第pos个字符之后存在与T相等的子串,
// 则返回第一个这样的子串在S中的位置,否则返回0
int n,m,i;
SString sub;
if (pos > 0) {
www.eeworm.com/read/473413/6852351
pas publicfunorpro.pas
unit PublicFunOrPro;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, StdCtrls, jpeg, Menus, ComCtrls, ToolWin, Buttons,winsock,Grids,
www.eeworm.com/read/472935/6860290
c bo4-1.c
/* bo4-1.c 串采用定长顺序存储结构(由c4-1.h定义)的基本操作(14个) */
/* SString是数组,故不需引用类型。此基本操作包括算法4.2,4.3,4.5 */
Status StrAssign(SString T,char *chars)
{ /* 生成一个其值等于chars的串T */
int i;
if(strlen(chars)>MAX
www.eeworm.com/read/295579/8153772
pas publicfunorpro.pas
unit PublicFunOrPro;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, StdCtrls, jpeg, Menus, ComCtrls, ToolWin, Buttons,winsock,Grids,
www.eeworm.com/read/393250/8302366
txt 4.17.txt
Status Replace(SString& s, SString t, SString v)
/* 用串v替换串s中所有和串t匹配的子串。 */
/* 若有与t匹配的子串被替换,则返回TRUE;*/
/* 否则返回FALSE */
{
int sign,i,j,k,len,lent,lenv;
SString ans;