代码搜索:String
找到约 10,000 项符合「String」的源代码
代码结果 10,000
www.eeworm.com/read/238907/13315247
o string.o
www.eeworm.com/read/238907/13315500
h string.h
#ifndef _BIOS_STRING_H
#define _BIOS_STRING_H
#include
#if defined(__STDC__) && __GNUC__ < 2
extern void *memcpy(void *to, const void *from, size_t size);
#endif
#ifndef NULL
#defi
www.eeworm.com/read/137504/13319053
class string.class
www.eeworm.com/read/137466/13321024
h string.h
#ifndef STRING_CLASS
#define STRING_CLASS
#include
#include
#include
#include
const int maxlen=128;
class String
{
private:
int curlen;
www.eeworm.com/read/137466/13321060
cpp string.cpp
#include "String.h"
String::String(const String & ob)
{
curlen=ob.curlen;
ch=new char[curlen];
assert(ch!=NULL);
strcpy(ch,ob.ch);
}
String::String(char *init)
{
curlen=strlen(init)
www.eeworm.com/read/322874/13362760
h string.h
typedef unsigned int size_t;
extern char
*strcpy(char *, const char *),
*strncpy(char *, const char *, size_t),
*strcat(char *, const char *),
*strncat(char *, const char *, size_t)
www.eeworm.com/read/136690/13365679
jc string.jc
/* Testing the new string methods */
import stdlib;
function test( const string& s, const var& a )
{
stdlib::Print( s + " = \"" );
stdlib::Print( stdlib::ToString(a) );
stdlib::Print( "
www.eeworm.com/read/321827/13396736
cpp string.cpp
// string -- template string support functions
#include
#include
_STD_BEGIN
// report a length_error
_CRTIMP2 void __cdecl _Xlen()
{_THROW(length_error, "string too long"
www.eeworm.com/read/321827/13397052
h string.h
/***
*string.h - declarations for string manipulation functions
*
* Copyright (c) 1985-1997, Microsoft Corporation. All rights reserved.
*
*Purpose:
* This file contains the function