代码搜索:String
找到约 10,000 项符合「String」的源代码
代码结果 10,000
www.eeworm.com/read/171936/6965144
java matchstrings.java
public class MatchStrings
{
public static void main(String[] args)
{
String string1 = "Too many ";
String string2 = "cooks";
String string3 = "Too many cooks";
// Make strin
www.eeworm.com/read/467642/7006614
java action_part.java
package java_cup;
/**
* This class represents a part of a production which contains an
* action. These are eventually eliminated from productions and converted
* to trailing actions by factorin
www.eeworm.com/read/189342/7115214
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/462821/7195464
cpp xstring.cpp
// Borland C++ - (C) Copyright 1991 by Borland International
//XSTRING.CPP--Example from Getting Started */
// version of STRING.CPP with overloaded operator +
#include
#include
www.eeworm.com/read/461713/7221795
cpp xstring.cpp
// Borland C++ - (C) Copyright 1991 by Borland International
//XSTRING.CPP--Example from Getting Started */
// version of STRING.CPP with overloaded operator +
#include
#include
www.eeworm.com/read/459415/7275766
asm yaho3.asm
DATA SEGMENT
STRING DB 67,11,2AH,0CBH,23H,43,27,27H,0EDH,78,9DH,3AH,23H,45,6AH,42H,0EAH,8AH,20H
S_LEN EQU $-STRING
STRING1 DB 20 DUP(?)
STRING2 DB 20 DUP(?)
DAT DB 2
DAT
www.eeworm.com/read/456569/7344882
cpp xstring.cpp
// Borland C++ - (C) Copyright 1991 by Borland International
//XSTRING.CPP--Example from Getting Started */
// version of STRING.CPP with overloaded operator +
#include
#include
www.eeworm.com/read/446732/7569689
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/440725/7682554
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/437118/7754965
java action_part.java
package java_cup;
/**
* This class represents a part of a production which contains an
* action. These are eventually eliminated from productions and converted
* to trailing actions by factorin