代码搜索:String
找到约 10,000 项符合「String」的源代码
代码结果 10,000
www.eeworm.com/read/161438/5553271
cpp str_plus.cpp
#include
#include
#include
class String {
public:
char *operator +(char *append_str)
{ return(strcat(buffer, append_str)); };
String(
www.eeworm.com/read/154509/5636809
txt 算法 5.7.txt
算法 5.7
int maxsamesubstring(char *string1, char *string2, char *&sub){
// 本算法返回串string1和string2的最长公共子串sub的长度
p1=string2; p2=string1;
for( i=0; i
www.eeworm.com/read/154509/5637049
txt 算法 5.7.txt
算法 5.7
int maxsamesubstring(char *string1, char *string2, char *&sub){
// 本算法返回串string1和string2的最长公共子串sub的长度
p1=string2; p2=string1;
for( i=0; i
www.eeworm.com/read/172493/9705435
cpp sutil.cpp
#include
using namespace std;
double string_to_double(string s)
{
istringstream instr(s);
double x;
instr >> x;
return x;
}
int string_to_int(string s)
{
istringstream
www.eeworm.com/read/171829/9734278
cpp over_pls.cpp
#include
#include
#include
class String
{
public:
char *operator +(char *append_str)
{ return(strcat(buffer, append_str)); };
char
www.eeworm.com/read/171829/9734468
cpp str_plus.cpp
#include
#include
#include
class String {
public:
char *operator +(char *append_str)
{ return(strcat(buffer, append_str)); };
String(
www.eeworm.com/read/170709/9792633
cpp usingstrncpy.cpp
// Listing 15.9 Using strncpy()
#include
#include
int main()
{
const int MaxLength = 80;
char String1[] = "No man is an island";
char String2[MaxLeng
www.eeworm.com/read/170709/9792642
cpp usingstrcpy.cpp
// Listing 15.8 - Using strcpy()
#include
#include
int main()
{
char String1[] = "No man is an island";
char String2[80];
strcpy(String2
www.eeworm.com/read/170590/9797347
c xbindata.c
/****************************************************************/
/* COPYRIGHT NOTICE */
/* ---------------- */
/* All software in this listing remain the strict copyright */
/* of Ilij
www.eeworm.com/read/335093/12550594
c 02051021.c
#include
#include
#define SIZE1 100
#define SIZE2 50
int find(char [],char []);
main()
{
char string1[SIZE1],string2[SIZE2];
printf("请输入不超过%d个字符的字符串.\n",SIZE1);