代码搜索:malloc
找到约 10,000 项符合「malloc」的源代码
代码结果 10,000
www.eeworm.com/read/450886/7475166
c 习题-28.c
//本程序只给出了算法思想
//读者可以自己完善本程序
void BSTree_Insert_Key(BiThrTree &T,int x)//在后继线索二叉搜索树T中插入元素x
{
if(T->datartag) //T没有右子树时,作为右孩子插入
{
p=T->rchild;
q=(BiThrNode*)mall
www.eeworm.com/read/450886/7475203
c 习题-49.c
//本程序只给出了算法思想
//读者可以自己完善本程序
Status CreateBitree_SqList(Bitree &T,SqList sa)//根据顺序存储结构建立二叉链表
{
Bitree ptr[sa.last+1]; //该数组储存与sa中各结点对应的树指针
if(!sa.last)
{
T=NULL; //空树
return;
}
ptr[1
www.eeworm.com/read/450886/7475238
c 习题-4.c
//本程序只给出了算法思想
//读者可以自己完善本程序
typedef *LNode[MAXSIZE] CHashTable; //链地址Hash表类型
Status Build_Hash(CHashTable &T,int m)
//输入一组关键字,建立Hash表,表长为m,用链地址法处理冲突.
{
if(m
www.eeworm.com/read/450470/7483209
c chk_disk.c
#include
#include
#include
void main(void)
{
struct fatinfo fat;
long sector, total_sectors;
void *buffer;
getfat(3, &fat);
total_sectors = fa
www.eeworm.com/read/448997/7520541
cpp algo0211.cpp
void CreateList_L(LinkList &L, int n) { // 算法2.11
// 逆位序输入(随机产生)n个元素的值,建立带表头结点的单链线性表L
LinkList p;
int i;
L = (LinkList)malloc(sizeof(LNode));
L->next = NULL; // 先建立一个带头结点
www.eeworm.com/read/448739/7526304
c mem.c
#include "mem.h"
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/
/*
* Mow-Song, Ng
www.eeworm.com/read/448199/7538320
c 习题-4.c
//本程序只给出了算法思想
//读者可以自己完善本程序
typedef *LNode[MAXSIZE] CHashTable; //链地址Hash表类型
Status Build_Hash(CHashTable &T,int m)
//输入一组关键字,建立Hash表,表长为m,用链地址法处理冲突.
{
if(m
www.eeworm.com/read/448197/7538364
c 习题-28.c
//本程序只给出了算法思想
//读者可以自己完善本程序
void BSTree_Insert_Key(BiThrTree &T,int x)//在后继线索二叉搜索树T中插入元素x
{
if(T->datartag) //T没有右子树时,作为右孩子插入
{
p=T->rchild;
q=(BiThrNode*)mall
www.eeworm.com/read/448194/7538414
c 习题-49.c
//本程序只给出了算法思想
//读者可以自己完善本程序
Status CreateBitree_SqList(Bitree &T,SqList sa)//根据顺序存储结构建立二叉链表
{
Bitree ptr[sa.last+1]; //该数组储存与sa中各结点对应的树指针
if(!sa.last)
{
T=NULL; //空树
return;
}
ptr[1
www.eeworm.com/read/446646/7573757
lst new.lst
[backblue.gif]
[fade.gif]
[index.html]
[c-faq.com/images/buttontop.gif]
[c-faq.com/images/buttonsrch.gif]
[www.eskimo.com/img/link/eskitiny.gif]
[c-faq.com/index.html]
[c-faq.com/index-2.html]