代码搜索:SString
找到约 985 项符合「SString」的源代码
代码结果 985
www.eeworm.com/read/121869/6297046
cpp index_kmp.cpp
//Index_KMP.cpp
#include
#include
#include
#define MAXSTRLEN 255
typedef unsigned char SString[MAXSTRLEN+1]; //from 0 to 256 becoz of '\0'
www.eeworm.com/read/121869/6297050
cpp compare.cpp
//Compare.cpp
//Compare two SString
#include
#include
#include
#define MAXSTRLEN 255
typedef unsigned char SString[MAXSTRLEN+1];
int Compare(SString S1,SStr
www.eeworm.com/read/121869/6297051
cpp index_bf.cpp
//Index_BF.cpp
#include
#include
#include
#define MAXSTRLEN 255
typedef unsigned char SString[MAXSTRLEN+1]; //from 0 to 256 becoz of '\0'
www.eeworm.com/read/121869/6297054
cpp substring.cpp
//SubString.cpp
//To find out Substring
#include
#include
#include
#define MAXSTRLEN 255
typedef unsigned char SString[MAXSTRLEN+1];
int SubString(SString
www.eeworm.com/read/121869/6297058
cpp concat.cpp
//Concat.cpp
//To Concat the SString S1 and S2
#include
#include
#include
#define MAXSTRLEN 255
typedef unsigned char SString[MAXSTRLEN+1];
int Concat(SS
www.eeworm.com/read/488343/6493545
cpp reversesstring.cpp
//【例3.2】 串的逆转。
#include "SString.h" //字符串类
SString reverse(SString &str) //返回str逆转后的串对象
{ //算法基于求子
www.eeworm.com/read/488343/6493547
cpp identifier.cpp
//【例3.1】 判断标识符。
#include "SString.h" //字符串类
bool isIdentifier(SString &str) //判断指定串是否为标识符
{
if (str.length()>0) //有效字
www.eeworm.com/read/488343/6493557
cpp replace.cpp
//【例3.3】 替换子串。
#include "SString.h" //字符串类
int main()
{
/*
//BF
// SString target("abbabaaba"), pattern("aba");
SString target("aaaaaa"), pattern("a
www.eeworm.com/read/479197/6700662
cpp 文学研究助手.cpp
#include
#include
#define MAXSTRLEN 255 //最大串长
typedef char SString[MAXSTRLEN+1]; //串的定长顺序存储表示
int next[MAXSTRLEN]; //KMP算法中用到的next
void get_next(