代码搜索:String

找到约 10,000 项符合「String」的源代码

代码结果 10,000
www.eeworm.com/read/399843/7831493

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/199075/7890165

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/199075/7890189

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/297205/8045240

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/141545/13001287

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/141545/13001623

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/240985/13182890

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/136879/13355910

cpp fig19_12.cpp

// Fig. 19.12: fig19_12.cpp // Demonstrating input from an istringstream object. #include #include #include using namespace std; main() { string input( "Inpu
www.eeworm.com/read/136879/13356138

cpp fig16_29.cpp

// Fig. 16.29: fig16_29.cpp // Using strcspn #include #include int main() { char *string1 = "The value is 3.14159"; char *string2 = "1234567890"; cout
www.eeworm.com/read/136879/13356146

cpp fig16_33.cpp

// Fig. 16.33: fig16_33.cpp // Using strstr #include #include int main() { char *string1 = "abcdefabcdef"; char *string2 = "def"; cout