代码搜索:String
找到约 10,000 项符合「String」的源代码
代码结果 10,000
www.eeworm.com/read/139347/13160284
c string.c
#include
/* Implementation taken from Linux kernel (linux/lib/string.c) */
size_t strlen(const char * s)
{
const char *sc;
for (sc = s; *sc != '\0'; ++sc)
/* nothing */;
return sc -
www.eeworm.com/read/139294/13164122
c string.c
#ifndef __GNUC__
#error I want gcc!
#endif
#define extern
#define inline
#define __LIBRARY__
#include
www.eeworm.com/read/139294/13164208
h string.h
#ifndef _STRING_H_
#define _STRING_H_
#ifndef NULL
#define NULL ((void *) 0)
#endif
#ifndef _SIZE_T
#define _SIZE_T
typedef unsigned int size_t;
#endif
extern char * strerror(int errno);
/*
* Thi
www.eeworm.com/read/240985/13182360
h string.h
/* string.h
Definitions for memory and string functions.
Copyright (c) 1987, 1991 by Borland International
All Rights Reserved.
*/
#ifndef __STRING_H
#define __STRING_H
#if
www.eeworm.com/read/240985/13182613
cpp string.cpp
// Borland C++ - (C) Copyright 1991 by Borland International
//STRING.CPP--Example from Getting Started */
#include
#include
class String {
char *char_ptr; // p
www.eeworm.com/read/139175/13185562
h string.h
/************************************************************************
String header.
************************************************************************/
#ifndef __STRING
#define __ST
www.eeworm.com/read/138927/13201835
h string.h
#ifndef _STR_H_
#define _STR_H_
#include
#include
typedef struct _String String;
struct _String
{
Object parent;
unsigned char* data;
};
String* string_new ();
Str
www.eeworm.com/read/138927/13201957
c string.c
#include
String* string_new ()
{
String* self;
self = (String*)mem_new(sizeof(String));
self->data = NULL;
object_init_object (OBJECT (self), (ObjectDestroy) string_destroy);
s
www.eeworm.com/read/138927/13202333
fc string.fc
void main(string args[])
{
string str = "This is a test!";
printf("%c\n", str[0]);
}
www.eeworm.com/read/325151/13222818
c string.c
#ifndef __GNUC__
#error I want gcc!
#endif
#define extern
#define inline
#define __LIBRARY__
#include