首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴zhao72349947的代码贴C语言
#include<stdio.h>
#include<string.h> 
#include <malloc.h>
#include<stdlib.h>
struct node
{
       int num;
       char name[15];
       node *next;
};
node *create()
{
......................
阅读全部 | 2013年6月13日 16:36
#include <stdio.h>
#include <malloc.h>

typedef struct Node
{
  int data;
  struct Node *prior, *next;
}node;

node *Init()
{
    node *head;
......................
阅读全部 | 2013年6月13日 16:36
#include<stdio.h>
#define max 100000

struct sqlist
{
int data[max+1];
int lenth;
};

int ssort(sqlist *l)
{
  int i,j,k,min;
......................
阅读全部 | 2013年6月13日 16:35
#include<stdio.h>
#include<string.h>
#define max 100
struct sqlist
{
 int data[max+1];
 int lenth;       
};
int csort(sqlist *l)
{
    int i,j;
    for(i=2;i<=l->lenth;i++)
......................
阅读全部 | 2013年6月13日 16:34
#include<stdio.h>
#define max 100000

struct sqlist
{
int data[max+1];
int lenth;
};

void shellinsert(sqlist *l,int d)
{
int i,j;
......................
阅读全部 | 2013年6月13日 16:33
#include<stdio.h>
#define max 100000

struct sqlist
{
int data[max+1];
int lenth;
};

void shellinsert(sqlist *l)
{
int i,j,temp;
......................
阅读全部 | 2013年6月13日 16:33
#include<stdio.h>
#define max 100000

struct sqlist
{
int data[max+1];
int lenth;
};

int patition(sqlist *l,int low,int high)
{
    l->data[0]=l->data[low];
......................
阅读全部 | 2013年6月13日 16:32
#include<stdio.h>
#include<malloc.h>
#include<string.h>

struct node
{
char data;
int c;
node *lc,*rc,*pre;//左孩子为子女,右孩子为兄弟姐妹,pre父亲 
};

struct sqelist 
......................
阅读全部 | 2013年6月13日 16:30
#include<stdio.h>
#include<string.h>
#define MAXSIZE 100

struct seqstack1//数据栈 
{
float data[MAXSIZE];//数组 
int top;//栈顶 
};
int init_seqstack1(seqstack1 * s1)//初始化栈 
{
s1->top=0;
......................
阅读全部 | 2013年6月13日 16:28
#include<stdio.h>
#include<string.h> 
#include <malloc.h>

struct node  //结构体 
{
       int num;   //学号 
       char name[15];  // 姓名 
       int gs;   //高数成绩 
       int yy;   //英语成绩 
       int c;     //c语言成绩 
       node *next;//指针
......................
阅读全部 | 2013年6月13日 16:27
1 2 下一页
zhao72349947