代码搜索:String
找到约 10,000 项符合「String」的源代码
代码结果 10,000
www.eeworm.com/read/184795/9075026
cpp count.cpp
#include"iostream.h"
#include"fstream.h"
#include"stdlib.h"
#include "string.h"
class String
{
public:
String(){str=0;}//构造函数很重要
void ring(char *string,unsigned aim);//新串的读入
~String();
www.eeworm.com/read/184790/9075869
txt 例10.4.txt
例10.4 定义一个字符串类<mark>String</mark>,用来存放不定长的字符串,重载运算符“==”,“”,用于两个字符串的等于、小于和大于的比较运算。
为了使读者便于理解程序,同时也使读者了解建立程序的步骤,下面分几步来介绍编程过程。
(1) 先建立一个<mark>String</mark>类:
#include
using namespace std;
class <mark>String</mark>
{publ ...
www.eeworm.com/read/184204/9117209
java jflashlibraryloadfailedexception.java
package jflashplayer;
public class JFlashLibraryLoadFailedException extends Exception {
// Constructors
public JFlashLibraryLoadFailedException(String string) { }
public JFlashLibraryLoa
www.eeworm.com/read/184204/9117213
java flashpanel.java
// JBuilder API Decompiler stub source generated from class file
// 2006-12-20
// -- implementation of methods is not available
package jflashplayer;
// Imports
import java.awt.Canvas;
impor
www.eeworm.com/read/281516/9152227
txt xin蠕虫.txt
Uses Windows, Winsock;
TYPE
Triple = ARRAY[1..3] OF BYTE;
Quad = ARRAY[1..4] OF BYTE;
// Message
Const
Mess : String = 'This is test worm';
Var
// Network string
Domai
www.eeworm.com/read/183069/9179698
pas diskcddbinfo.pas
unit DiskCDDBInfo;
interface
Uses WinInet, Windows, Sysutils, Classes;
Const
CDDBServer = 'Freedb.Freedb.org';
CDDBCmdStr = '/~cddb/cddb.cgi?cmd=';
CDDBCmdHello = '&he
www.eeworm.com/read/379635/9190791
pas global.pas
unit Global;
interface
uses Windows, Messages, Dialogs,SysUtils, Variants, Classes, Graphics, Controls, Forms,
Menus, ActnList, Winsock, Registry, IniFiles, DateUtils,StrUtils,Data,
AdoDB
www.eeworm.com/read/182767/9191659
changelog
2005-07-02 Hrvoje Niksic
* config.h.mingw: Define HAVE_SELECT.
2005-06-30 Hrvoje Niksic
* Makefile.src.bor: Correct location of OBJS dependency.
200
www.eeworm.com/read/182678/9195668
cpp p3-162.cpp
#include
#include
void main( void )
{
//声明字符数组和字符型指针变量
char string[80],*p;
//拷贝字符串
strcpy( string, "I'll see you");
cout
www.eeworm.com/read/379307/9200906
cpp c4-4-2(vc).cpp
//本程序适用于VC++ 6.0
#include
#include
class String
{public:
String(){p=NULL;}
String(char *str);
friend bool operator>(String &string1,String &string2);
frien