代码搜索:String
找到约 10,000 项符合「String」的源代码
代码结果 10,000
www.eeworm.com/read/165501/10059006
c substr.c
/* function to get the length of a string */
int length(string)
char string[ ] ;
{
int index = 0 ;
while (string[index] != '\0' )
index ++ ;
return (index);
}
/* fu
www.eeworm.com/read/355882/10242008
c conf.c
/*
**
** conf.c
**
** I originally wrote conf.c as part of the drpoxy package
** thanks to Matthew Pratt and others for their additions.
**
** Copyright 1999 Jeroen Vreeken (pe1rxq@chell
www.eeworm.com/read/162078/10337220
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/162078/10337619
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/279909/10378359
txt 例10.20.txt
例10.20用函数调用实现字符串的复制。
(1) 用字符数组作参数。
void copy-string
(char from[ ], char to[ ])
{int i=0;
while(from[i]!=′\0′)
{to[i]=from[i];i++;}
to[i]=′\0′;
}
www.eeworm.com/read/352688/10524223
l boa_lexer.l
%{
/*
* Boa, an http server
* Copyright (C) 1995 Paul Phillips
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General
www.eeworm.com/read/277457/10637467
cpp getfile.cpp
#include
#include
using namespace std;
const int MAX = 40;
int main()
{
char string1[MAX], string2[MAX];
ifstream fin("hello.dat");
if (!fin.is_open())
www.eeworm.com/read/277457/10637537
cpp strcpy.cpp
#include
#include
using namespace std;
int main()
{
char string1[] = "bat";
char string2[] = "cat";
char* string3;
strcpy(string1, string2);
cou
www.eeworm.com/read/350641/10723426
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/350641/10723690
cpp str_plus.cpp
#include
#include
#include
class String {
public:
char *operator +(char *append_str)
{ return(strcat(buffer, append_str)); };
String(