代码搜索:SString
找到约 985 项符合「SString」的源代码
代码结果 985
www.eeworm.com/read/127961/14324603
cpp bo4-1.cpp
// bo4-1.cpp 串采用定长顺序存储结构(由c4-1.h定义)的基本操作(14个)
// SString是数组,故不需引用类型。此基本操作包括算法4.2,4.3,4.5
Status StrAssign(SString T,char *chars)
{ // 生成一个其值等于chars的串T
int i;
if(strlen(chars)>MAXSTRLEN)
www.eeworm.com/read/223339/14644565
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/223339/14644566
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/222762/14675171
cpp replace.cpp
//Replace.cpp
#include
#include
#include
#define MAXSTRLEN 255
typedef unsigned char SString[MAXSTRLEN+1]; //from 0 to 256 becoz '\0'
void Copy(SSt
www.eeworm.com/read/219502/14878196
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/219502/14878198
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/114196/15065455
doc bstring.doc
BSTRING PROGRAMMER'S MANUAL
VERSION 2.0
(BASIC String Fu
www.eeworm.com/read/114100/15111760
txt 如何获得任意磁盘的剩余空间.txt
2G以 下 的 硬 盘 可 以 使 用 API函 数 GetDiskFreeSpace。 下 面 就 是 一 个 例 子 。
Declare Function GetDiskFreeSpace Lib "kernel32" Alias _
"GetDiskFreeSpaceA" (ByVal lpRootPathName As String, _
lpSe
www.eeworm.com/read/208856/15234175
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