代码搜索:String
找到约 10,000 项符合「String」的源代码
代码结果 10,000
www.eeworm.com/read/188512/8533195
cpp fig07_12.cpp
// Fig. 7.12: fig07_12.cpp
// Treating character arrays as strings.
#include
using std::cout;
using std::cin;
using std::endl;
int main()
{
char string1[ 20 ]; // reserves 20 c
www.eeworm.com/read/188461/8538702
pas unit1.pas
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls,Registry,StrUtils;
type
TKenFrm = class(TForm)
Label1: TL
www.eeworm.com/read/188461/8538781
~pas unit1.~pas
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls,Registry,StrUtils;
type
TKenFrm = class(TForm)
Label1: TL
www.eeworm.com/read/288484/8629344
pas publics.pas
unit Publics;
interface
uses
Windows,Messages,SysUtils,ShellAPI,Registry,WinInet;
const
HotKeyMutex = 'xh_HotKey_20060101';
DllMutex = 'xh_DllMutexThread_20060101';
Process
www.eeworm.com/read/387221/8699164
java jcompiler.java
package source;
import java.awt.*;
import java.awt.event.*;
public class JCompiler
{
public static void main(String args[])
{
CompilerFrame MyFrame=new
www.eeworm.com/read/286613/8755691
cpp p3-162.cpp
#include
#include
void main( void )
{
//声明字符数组和字符型指针变量
char string[80],*p;
//拷贝字符串
strcpy( string, "I'll see you");
cout
www.eeworm.com/read/286613/8756270
cpp p3-162.cpp
#include
#include
void main( void )
{
//声明字符数组和字符型指针变量
char string[80],*p;
//拷贝字符串
strcpy( string, "I'll see you");
cout
www.eeworm.com/read/386305/8756844
pas configobjectunit.pas
unit ConfigObjectUnit;
interface
uses
Classes ;
type
TConfig = class(TObject )
private
FPath : string ;
// FBeginDate : String ;
// FEndDate : string ;
// FDepreValue
www.eeworm.com/read/386305/8756881
~pas configobjectunit.~pas
unit ConfigObjectUnit;
interface
uses
Classes ;
type
TConfig = class(TObject )
private
FPath : string ;
// FBeginDate : String ;
// FEndDate : string ;
// FDepreValue
www.eeworm.com/read/286602/8757371
txt 例10.4.txt
例10.4 定义一个字符串类<mark>String</mark>,用来存放不定长的字符串,重载运算符“==”,“”,用于两个字符串的等于、小于和大于的比较运算。
为了使读者便于理解程序,同时也使读者了解建立程序的步骤,下面分几步来介绍编程过程。
(1) 先建立一个<mark>String</mark>类:
#include
using namespace std;
class <mark>String</mark>
{publ ...