代码搜索:SString
找到约 985 项符合「SString」的源代码
代码结果 985
www.eeworm.com/read/103759/15722433
h string.h
#ifndef SSTRING_H
#define SSTRING_H
#include
#include
template
class SString
{
char buf[bsz+1];
char *s;
public:
SString(const char* S=""):s(buf)
{
www.eeworm.com/read/100931/15859857
pas rc_codecs.pas
unit rc_codecs;
interface
uses sysutils;
function rc_Decode(sCoded: string): string;
function rc_Encode(sString: string): string;
implementation
function rc_Decode(sCoded: string): str
www.eeworm.com/read/100917/15861030
cpp filesup.cpp
///////////////////////////////////////////////////////////////////////////
// File: filesup.cpp
// Version: 1.1.0.4
// Updated: 19-Jul-1998
//
// Copyright: Ferdinand Prantl
// E-mail:
www.eeworm.com/read/382947/8987571
cpp bo4-1.cpp
// bo4-1.cpp 串采用定长顺序存储结构(由c4-1.h定义)的基本操作(13个),包括算法4.2,4.3,4.5
// SString是数组,故不需引用类型
#define DestroyString ClearString // DestroyString()与ClearString()作用相同
Status StrAssign(SString T,char *c
www.eeworm.com/read/373100/9475245
cpp string.cpp
#include
#include
#include
#define MAXSTRLEN 10000
typedef unsigned char SString[MAXSTRLEN+1];
void get_next(SString T,int next[])
{
int i=1,j=0;
next[1]=
www.eeworm.com/read/362558/9992446
txt 4_8.txt
int StrCat(SString *s, SString t)
/*将串连接在串s的后面*/
{
int i, flag;
if (s->len + t.lenlen; ilen + t.len; i++)
s->ch[i]=t.ch[i-s->len];
s->l
www.eeworm.com/read/362558/9992470
txt 4_15.txt
void Get_nextpos(SString t, int next[])
/*求模式串t的next函数修正值并存入数组next[]中*/
{
int i,j;
i=0;
j=-1;
next[0]=-1;
while(i
www.eeworm.com/read/362558/9992472
txt 4_1.txt
int StrInsert(SString *s, int pos, SString t)
/*在串s中下标为pos的字符之前插入串t */
{
int i;
if (poss->len) /*插入位置不合法*/
return(0);
if (s->len + t.len
www.eeworm.com/read/362558/9992513
txt 4_14.txt
int StrIndex_KMP(SString s,int pos, SString t,int next[])
/*求从主串s的下标pos起,串t第一次出现的位置*/
{
int i, j;
if (t.len==0)
return(0); /* 空串是任意字符串的子串 */
i=pos;
j=0;
while (i
www.eeworm.com/read/362231/10011631
txt md5_1.txt
MD5(1) USER COMMANDS MD5(1)
NAME
md5 - calculate a message-digest fingerprint (checksum) for
a file
SYNOPSIS
md5 [ -t | -x | -s