https://www.myziyuan.com/
- 1264737478
- #include #include #include #include "graphics.h"#include "math.h"#define m 1 struct data { int year; int month; int day; };struct ReaderNode {char num[20]; struct data bro; struct data back; };struct BookNode {char title[15]; char writer[15]; int currentnum; int totalnum; char brief[30]; struct ReaderNode reader[20]; };struct TreeNode {int n; struct TreeNode *prt; int key[2*m]; struct BookNode *rec[2*m]; struct TreeNode *link[2*m+1]; };struct BookNode *InputNode();struct TreeNode *mbsearch(struct TreeNode *bth,int x,int *k,int *flag);struct TreeNode *mbinsert(struct TreeNode *bth);struct TreeNode *mbdel(struct TreeNode *bth);void OutputNode(struct TreeNode *bth);void borrow(struct TreeNode *bth);void payback(struct TreeNode *bth);char menu(void);struct TreeNode *mbsearch(struct TreeNode *bth,int x,int *k,int *flag){struct TreeNode *p,*q;p=bth; *flag=0; q=p; while( (p!=NULL) && (*flag==0) ) {*k=1;q=p;while( (*k q->n) && ( q->key[*k-1] < x) ) *k=*k+1; if( q->key[*k-1]==x) *flag=1; else if( ( *k==q->n ) && ( q->key[*k-1] x) ) {p=q->link[*k];p->prt=q;} else { p=q->link[*k-1]; p->prt=q;*k=*k-1;} }return(q);}
- 2021-03-05 19:09:34
- 苏棠源码
- 看功能结构问题,主要是根据功能结构来分钱的问题,大概是200钱
- 2021-03-05 19:07:54
- 万岳科技
- 网上书店系统源码,网上书店 源码 asp,书店源码, 书店asp源码下载,书店网站源码,正在急寻免费,书店网站源码,asp
- 2021-03-05 19:07:54