自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

BWM Studio

The Blow Water Machines...

  • 博客(8)
  • 收藏
  • 关注

原创 第六章21全部代码(powered by spirit_only)

    1 //    2 //6_21线性表逆置    3 //    4 #include     5 #include     6 typedef int datatype;                        //数据域中的数据类型    7 #define MAXSIZE 1024    8 #define LAST 50           

2006-04-23 22:36:00 685

原创 第六章22题全部代码(powered by spirit_only)

    1 //动态链表插值    2 #include     3 #include     4 #include     5 typedef int datatype;    6 typedef struct  node    7 {    8     datatype data;    9     struct node *next;   10 }li

2006-04-23 22:33:00 589

原创 第六章31题全部代码(powered by spirit_only)

    1 //    2 //6_31字符分类    3 //    4 #include     5 #include     6 typedef char datatype;    7 typedef struct node    8 {    9     datatype data;   10     struct node *next;   1

2006-04-23 22:29:00 657

原创 第八章十六题关键代码,输出的时候有些问题,主要看算法。

#include "stdio.h"#include "stdlib.h"#include "string.h"#include "conio.h"#define M 10typedef char datatype;typedef struct{ datatype data[M]; int front,rear,quelen;}sequeue;void SETNULLQS(sequeue *s

2006-04-20 21:27:00 603

原创 第8章十一题关键函数

#include "stdio.h"#include "stdlib.h"#include "string.h"typedef char datatype;typedef struct node{ datatype data; struct node * pNext;}linklist;typedef struct{ linklist *front,*rear;}linkqueue;

2006-04-20 21:25:00 685

原创 第七章26题关键代码

spmatrix *Chen(spmatrix *a,spmatrix *b){ int ano,bno,cno,col; spmatrix * c; c=InitSpmatrix(a->m,b->n,(a->m)*(b->n)); c->t=0; cno=0; for(col=0;coln;col++){  bno=0;  for(ano=0;anot;ano++){   if(a->data[

2006-04-09 23:05:00 688

原创 第七章20题关键代码

typedef struct linknode{ char data; struct linknode *pNext;}linkstring;void MyChange(linkstring * S,char c,char s){ while(S){  if(S->data==c)   S->data=s;  S=S->pNext; } return;}void display(linkstr

2006-04-09 23:03:00 621

原创 第七章第19题关键代码

typedef struct{ char str[MAX]; int len;}seqstring;void MyDelete(seqstring* s,int i,int j){ int k,h; if(i+j-1>s->len)  printf("OverFlow/n"); else {  for(k=0;k   for(h=0;hlen-(i+k+1);h++)    s->str[i+

2006-04-09 23:00:00 863 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除