導航:首頁 > 安裝管理 > c語言設計設備管理系統

c語言設計設備管理系統

發布時間:2021-06-11 17:15:53

㈠ 求用C語言編的設備管理系統

#include "stdio.h"
#include "stdlib.h"
#include "cstring"

#define COUNT 30

void start(); //函數聲明
void input();
void change();
void sort();
void dele();
void output();
void search();

struct deviceInfor{

char devno[30];
int devsort; //1 代表微機 2代表列印機 3代表掃描機
char devname[30];
int devprice;
char devbuydate[30];
int devstate;
char devdonedate[30];

}dev[COUNT];

int count=0;

void main() //主函數
{
while(1)
start();

}

void start() //啟動菜單
{
int chi;
printf(" 實驗設備管理系統\n");
printf(" ********************************************\n");
printf(" 1.設備信息的錄入:\n");
printf(" 2.設備信息的修改:\n");
printf(" 3.設備信息的分類統計:\n");
printf(" 4.刪除某個設備:\n");
printf(" 5.查找某個設備:\n");
printf(" 6.退出系統:\n");
printf(" ********************************************\n");
printf(" 輸入你的選擇: ");
scanf("%d",&chi);
//printf("\n");
if(chi==1) input();
else if(chi==2) change();
else if(chi==3) sort();
else if(chi==4) dele();
else if(chi==5) search();
else if(chi==6) { printf("你已經退出設備管理系統!\n"); exit(0);}
else { printf(" You Enter The Choice Is Not valid ! \n"); }

}

void input() //數據錄入
{

char flag[20];
do{
printf("請輸入你的設備信息:\n");
printf("設備編號:");
scanf("%s",dev[count].devno);
printf("設備種類(1 代表微機 2代表列印機 3代表掃描機):");
scanf("%d",&dev[count].devsort);
printf("設備名字:");
scanf("%s",dev[count].devname);
printf("設備價格:");
scanf("%d",&dev[count].devprice);
printf("設備購買日期:");
scanf("%s",dev[count].devbuydate);
printf("設備狀態(1未報廢 0報廢):");
scanf("%d",&dev[count].devstate);
printf("設備報廢日期:");
scanf("%s",dev[count].devdonedate);

count++;
printf("是否繼續輸入數據 y是 n否 : ");
scanf("%s",flag);
}while(strcmp(flag,"y")==0||strcmp(flag,"Y")==0);

output();
}

void change() //數據修改
{
char ch[20],a[20];
int i;
printf("\nyou sure want change devInfor y/n): ");
scanf("%s",ch);
if(strcmp(ch,"y")==0||strcmp(ch,"Y")==0)
{ printf("\nenter you want change devName:");
scanf("%s",a);
for(i=0;i<count;i++)
{
if(strcmp(dev[i].devname,a)==0)
{ printf("\nyou sure want change dev name(y/n): ");
scanf("%s",ch);
if(strcmp(ch,"y")==0||strcmp(ch,"Y")==0) { printf("\nname:"); scanf("%s",dev[i].devname);}
printf("\nyou sure want change dev no(y/n): ");
scanf("%s",ch);
if(strcmp(ch,"y")==0||strcmp(ch,"Y")==0) { printf("\nno"); scanf("%s",dev[i].devno);}
printf("\nyou sure want change dev sort(y/n): ");
scanf("%s",ch);
if(strcmp(ch,"y")==0||strcmp(ch,"Y")==0) { printf("\nsort"); scanf("%d",&dev[i].devsort);}
printf("\nyou sure want dev price(y/n): ");
scanf("%s",ch);
if(strcmp(ch,"y")==0||strcmp(ch,"Y")==0) { printf("\nprice"); scanf("%d",&dev[i].devprice);}
printf("\nyou sure want dev done date(y/n): ");
scanf("%s",ch);
if(strcmp(ch,"y")==0||strcmp(ch,"Y")==0) { printf("\ndone date"); scanf("%s",dev[i].devdonedate);}
}
} }

output();

}
void sort() //數據分類顯示
{
int i,chi,sum=0,wei=0,da=0,sao=0;
printf("輸入你想要統計的信息: 1(報廢的機器總數) 2(機器的總類數目)");
scanf("%d",&chi);
if(chi==1) {
for(i=0;i<count;i++) {
if(dev[i].devstate==0) sum++;
}
printf("報廢的機器數目為 %d \n",sum);
}
else if(chi==2){
for(i=0;i<count;i++) {
if(dev[i].devsort==1) wei++;
else if(dev[i].devsort==2) da++;
else if(dev[i].devsort==3) sao++;
}
printf("微機數目為 %d 列印機數目為 %d 掃描機數目為 %d",wei,da,sao);
}else { printf("你輸入的選項不符合要求!\n");}

}
void dele() //數據刪除
{
int i,j;
char c[20];
printf("\nenter you want delete name :\n");
printf("name:");
scanf("%s",c);
for(i=0;i<count;i++)
if(strcmp(c,dev[i].devname)==0) break;
for(j=i;j<count-1;j++)
dev[j]=dev[j+1];
printf("\t\t\tyou had delete %s\n",c);
count--;
output();

}
void output() //數據輸出
{
int i;
for(i=0;i<count;i++)
{
printf("%s %d %s %d %s %d %s\n",dev[i].devno,dev[i].devsort,dev[i].devname,dev[i].devprice,dev[i].devbuydate,dev[i].devstate,dev[i].devdonedate);

}

}

void search() //數據查找
{
int i;
char a[20],ch[10];
printf("\nenter you want look name:");
scanf("%s",a);
for(i=0;i<count;i++)
if(strcmp(dev[i].devname,a)==0) printf("%s %d %s %d %s %d %s\n",dev[i].devno,dev[i].devsort,dev[i].devname,dev[i].devprice,dev[i].devbuydate,dev[i].devstate,dev[i].devdonedate);
}

在vc++6.0 中測試通過 你的要求均滿足了 有問題 可以hi我

㈡ c語言課題設計——實驗室設備管理系統

實現功能:(1)設備信息:設備編號、設備名稱、設備地點(實驗室)、設備狀態等

㈢ c語言程序設計實驗設備管理系統

把需求貼得更加明確些

㈣ c語言課程設計:實驗設備管理系統

這是做最後的大作業了吧?
還是自己做做吧。
有什麼問題可以發上來求助。

㈤ C語言課程設計:計算機設備管理系統設計

唉,小伙,你給的分太低了大家都不願答。再一個,這種東西雖然不難,但版是東西太多了。

給你個建權議吧,你最好是自己學著做,定義一個結構體,裡麵包括計算機設備信息括編號、計算機名稱、CPU型號、規格、基本配置、IP地址、MUC、廠家、硬碟序列號、管理人、到貨日期、是否在用、金額等。

然後,把這些個東西直接存一個文件里就行。查找的時候,打開文件,從頭到尾順序查找,刪除,增加都一個原理。很簡單的。
如果你實在不會的話,你可以上網找找圖書館管理系統,那個東西和你這個是一樣的,只要把裡面的變數名改改就行了。

希望這些能幫到你,如果你以後想干軟體,就自己動動手吧,這些東西從頭學,有四五天全力弄也夠了。如果以後不想干軟體,那無所謂了,上網找個改改就能混過去。

㈥ C語言程序設計《實驗設備管理系統設計》

#include "stdio.h"#include "stdlib.h"#include "string.h"struct shebei{char ID[10]; char name[15]; char kind[15]; char over[15]; char yesno[10]; char time[10]; char price[10]; };typedef struct node{struct shebei data;struct node *next; //建立一個鏈表。}Node;void Add(Node *equip) //添加記錄{Node *p,*r,*s; char id[10]; //先用於輸入ID,也用於判斷是否跳出循環r=equip;s=equip->next; //使s為第一個有用的結點while(r->next!=NULL) //這個循環的作用是使r為最後一個有用的結點r=r->next; //將指針置於最末尾while(1){ printf(">>>>>>>>>>提示:輸入0則返回主菜單!\n");printf("\n請你輸入設備ID號:"); scanf("%s",id); if(strcmp(id,"0")==0) break; p=(Node *)malloc(sizeof(Node)); //申請空間strcpy(p->data.ID,id);printf("\n請輸入設備名稱:");scanf("%s",p->data.name); printf("\n請輸入設備種類:");scanf("%s",p->data.kind);printf("\n請輸入報廢日期:");scanf("%s",&p->data.over);printf("\n請輸入設備是否報廢:");scanf("%s",&p->data.yesno);printf("\n請輸入設備購買時間:"); scanf("%s",&p->data.time);printf("\n請輸入設備價格:");scanf("%s",&p->data.price);printf(">>>>>>>>>>提示:已經完成一條記錄的添加。\n");p->next=NULL;r->next=p; //這一步是必需的,將p與先前的鏈表連起來構成一條新鏈表r=p; //也是必需的.將r 又重設為新鏈的最後一個有用結點 }}void Modify(Node *equip)//修改{Node *p;char find[20];if(!equip->next){printf("\n>>>>>>>>>>提示:沒有資料可以修改!\n");return;}printf("請輸入要修改的設備ID號:"); scanf("%s",find); p=equip->next; while(p!=NULL) {if(strcmp(p->data.ID,find)==0) //如果找到的話返回的是符合要求break; p=p->next;}if(p) //若找到{int x;while(1){printf("完成修改請輸入0否則輸入任意數再進行修改:");scanf("%d",&x);if(x==0){break;} printf("請輸入新設備號(原來是 %s ):",p->data.ID);scanf("%s",p->data.ID);printf("請輸入新設備名稱(原來是 %s ):",p->data.name);scanf("%s",p->data.name);printf("請輸入新設備設備種類名稱(原來是 %s ):",p->data.kind);scanf("%s",p->data.kind); printf("請輸入新設備報廢日期名稱(原來是 %s ):",p->data.over);scanf("%s",p->data.over); printf("請輸入新設備是否報廢(原來是 %s ):",p->data.yesno);scanf("%s",p->data.yesno); printf("請輸入新設備購買時間(原來是 %s ):",p->data.kind);scanf("%s",p->data.time); printf("請輸入新設備價格(原來是 %s ):",p->data.price);scanf("%s",p->data.price); printf("\n>>>>>>>>>>提示:該項記錄資料已經成功修改!\n");}}else printf("\n>>>>>>>>>>提示:你要修改的信息不存在!\n");} void Disp(Node *equip)//輸出記錄{Node *p;p=equip->next;if(!p){printf("\n>>>>>>>>>>提示:沒有記錄可以顯示!\n");return;}printf("\t\t\t\t顯示結果\n"); printf("設備號 設備名稱 設備種類 報廢日期 是否報廢 購買時間 價格\n"); while(p){printf("\n%-13s%-11s%-7s%-10s%-13s%-10s%-5s\n",p->data.ID,p->data.name,p->data.kind,p->data.over,p->data.yesno,p->data.time,p->data.price);p=p->next;}}void Tongji(Node *equip)//統計{Node *p;int sel;int flag2=0,ha=0;p=equip->next;char find[20]; if(!equip->next) //若鏈表為空{printf("\n>>>>>>>>>>提示:沒有資料可以統計分類!\n");return;}printf(">>>>>>>>>>提示:\n=====>0退出\n=====>1按設備號統計\n=====>2按設備名稱統計\n");scanf("%d",&sel);if(sel==1){printf("\n輸入你要統計分類的設備號:");scanf("%s",find);while(p){ if(strcmp(p->data.ID,find)==0){flag2++;} if(flag2==1&&ha!=flag2){ printf("設備號 設備名稱 設備種類 報廢日期 是否報廢 購買時間 價格\n");printf("\n%-13s%-11s%-7s%-10s%-13s%-10s%-5s\n",p->data.ID,p->data.name,p->data.kind,p->data.over,p->data.yesno,p->data.time,p->data.price);ha=flag2;}else if(flag2>ha){printf("\n%-13s%-11s%-7s%-10s%-13s%-10s%-5s\n",p->data.ID,p->data.name,p->data.kind,p->data.over,p->data.yesno,p->data.time,p->data.price);ha=flag2;}p=p->next;}if(flag2){printf("\n*************************按設備號%s統計分類的有%d條記錄:*************************\n\n",find,flag2);}else {printf("\n按設備號%s統計的結果為0個\n\n",find);}}else if(sel==2){printf("\n輸入你要統計分類的設備名稱:");scanf("%s",find);while(p){ if(strcmp(p->data.name,find)==0){flag2++;} if(flag2==1&&ha!=flag2){ printf("設備號 設備名稱 設備種類 報廢日期 是否報廢 購買時間 價格\n");printf("\n%-13s%-11s%-7s%-10s%-13s%-10s%-5s\n",p->data.ID,p->data.name,p->data.kind,p->data.over,p->data.yesno,p->data.time,p->data.price);ha=flag2;}else if(flag2>ha){printf("\n%-13s%-11s%-7s%-10s%-13s%-10s%-5s\n",p->data.ID,p->data.name,p->data.kind,p->data.over,p->data.yesno,p->data.time,p->data.price);ha=flag2;}p=p->next;}if(flag2){printf("\n******************按設備名稱%s統計的有%d條記錄:********************\n\n",find,flag2);}else {printf("\n按設備名稱%s統計分類的結果為0個\n\n",find);}}else if(sel==0) return;}void main(){Node *equip;FILE *fp;int flag;Node *p,*q;printf("\t\t\t\t設備管理系統\n");equip=(Node*)malloc(sizeof(Node));equip->next=NULL;p=equip;fp=fopen("設備管理系統","wb+");q=(Node*)malloc(sizeof(Node));if(fread(q,sizeof(Node),1,fp)) //將文件的內容放入接點中{q->next=NULL;p->next=q;p=q; //將該接點掛入鏈表中}fclose(fp); //關閉文件while(1){printf("**************************************目錄**************************************");printf("\n1添加記錄\n");printf("\n2修改記錄\n");printf("\n3顯示記錄\n");printf("\n4統計分類記錄\n");printf("\n0*-EXIT-*\n");printf("請輸入你要操作的序號:");scanf("%d",&flag);switch(flag){case 0: printf("\n>>>>>>>>>>提示:已經退出系統,ByeBye!\n");break;case 1: Add(equip); break; //增加記錄 case 2: Modify(equip); break;//修改記錄case 3: Disp(equip); break;//顯示記錄信息case 4: Tongji(equip); break;//統計記錄default: printf("\n>>>>>>>>>>提示:輸入錯誤!\n"); break;}}}

㈦ c語言程序設計 教學設備管理系統 謝謝啦!分不是問題

#include<graphics.h>
#include<stdlib.h>
#include<stdio.h>
#include<conio.h>
#define NULL 0
#define LEN sizeof(struct equipment)

struct equipment
{long number;
char name[20];
char adr[20];
long date;
long taishu;
long price;
long amount;
char instruction[20];
struct equipment *next;
};
struct equipment *head,*equip,*p5,*p;
int n;
struct equipment *del1,*del2,*del3;
struct equipment*insert(struct equipment *head,struct equipment *p);

/*輸入函數*/
struct equipment* creat(void)
{struct equipment *p1,*p2;
n=0;
p1=p2=(struct equipment*)malloc(LEN);
printf("\n教學設備編號為0時,退出輸入!\n");
printf("輸入教學設備編號 :");
scanf("%ld",&p1->number);
printf("\n輸入設備名稱:");
scanf("%s",&p1->name);
printf("\n輸入生產廠家:");
scanf("%s",&p1->adr);
printf("\n輸入購置日期:");
scanf("%ld",&p1->date);
printf("\n輸入台數:");
scanf("%ld",&p1->taishu);
printf("\n輸入單價:");
scanf("%ld",&p1->price);
p1->amount=(p1->taishu)*(p1->price);
printf("\n輸入備注:");
scanf("%s",&p1->instruction);
head=NULL;
while(p1->number!=0)
{n=n+1;
if(n==1) head=p1;
else p2->next=p1;
p2=p1;
p1=(struct equipment*)malloc(LEN);
printf("\n輸入教學設備編號:");
scanf("%ld",&p1->number);
if(p1->number==0) break;
else
{printf("\n輸入設備名稱:");
scanf("%s",&p1->name);
printf("\n輸入生產廠家:");
scanf("%s",&p1->adr);
printf("\n輸入購置日期:");
scanf("%ld",&p1->date);
printf("\n輸入台數:");
scanf("%ld",&p1->taishu);
printf("\n輸入單價:");
scanf("%ld", &p1->price);
p1->amount=(p1->taishu)*(p1->price);
printf("\n輸入備注:");
scanf("%s",p1->instruction);}
}
p2->next=NULL;
return(head);
}
void print()
{clrscr();
gotoxy(33,0);
printf("\16[{-80|10@30,30=4(2)5****中南大學教學設備管理系統****}]");
gotoxy(3,5);
printf("設備編號 設備名稱 生產廠家 購置日期 台數 單價 金額 備注\n");}
void print1()
{int i,j;
for(i=0;i<=8;i++)
line(70*i+16,60,70*i+16,60+36*(n+1));
for(j=0;j<=n+1;j++)
line(16,60+36*j,70*8+16,60+36*j);}

/*顯示函數*/
void output(struct equipment* head)
{struct equipment*p;
p=head;
printf(" ");
if(head!=NULL)
do
{printf("\n %-9ld%-9s%-9s%-9ld%-9ld%-9ld%-9ld%-9s \n",p->number,p->name,p->adr,p->date,p->taishu,p->price,p->amount,p->instruction);
p=p->next;}while(p!=NULL);
printf(" ");
getch();}
/*修改函數*/
void change(struct equipment* head)
{struct equipment *p;
long num;
cleardevice();
for(;;)
{
printf("\n請輸入要修改的設備編號:");
scanf("%ld",&num);
p=head;
while(num!=p->number&&p->next!=NULL)
{p=p->next;}
if(num!=p->number)
{printf("\n對不起,無此記錄!按任意鍵返回!");
getch();
break;}
else
{printf("\n請輸入新的設備記錄:");
printf("\n輸入教學設備編號:");
scanf("%ld",&p->number);
printf("\n輸入教學設備名稱:");
scanf("%s",&p->name);
printf("\n輸入生產廠家:");
scanf("%s",&p->adr);
printf("\n輸入購置日期:");
scanf("%ld",&p->date);
printf("\n輸入台數:");
scanf("%ld",&p->taishu);
printf("\n輸入單價:");
scanf("%ld",&p->price);
p->amount=(p->taishu)*(p->price);
printf("\n輸入備注:");
scanf("%s",p->instruction);
printf("\n是否繼續退出,Y/N?");
if(getch()!='y') break;
}
}}
/*查找函數*/
void search(struct equipment* head)
{ struct equipment *p;
char choice;
long key;
do
{clrscr();
if(head==NULL)
printf("\n 無此記錄!");
printf("\n請輸入要查找的設備編號:");
scanf("%ld",&key);
p=head;
while(key!=p->number&&p->next!=NULL)
{p=p->next;}
if(key==p->number)
{print();
print1();
printf("\n %-9ld%-9s%-9s%-9ld%-9ld%-9ld%-9ld%-9s",p->number,p->name,p->adr,p->date,p->taishu,p->price,p->amount,p->instruction);
printf("\n");}
else
{printf("\n無此編號,請按任意鍵返回!");
getch();}
printf("\n您是否需要繼續查找?(y/n)\n");
choice=getch();
}while(choice=='y');
}
/*刪除函數*/
struct equipment *del(struct equipment *head)
{ struct equipment *p1,*p2;
long number;
int b=0;
do
{clrscr();
if(head==NULL)
{printf("\n無此記錄!\n");
return(head);}
else
{b=0;
if(del1==NULL) b=b+1;
if(del2==NULL) b=b+1;
if(del3==NULL) b=b+1;
if(b!=0)
printf("\n回收站還有%d的空間!",b);
else
printf("\n回收站已滿,無法再刪除!");
printf("\n請輸入要刪除的教學設備編號:");
scanf("%ld",&number);
p1=head;
while(number!=p1->number&&p1->next!=NULL)
{p2=p1;
p1=p1->next; }
if(number==p1->number)
{printf("\n進行邏輯刪除還是物理刪除,Y/N?");
if(getch()=='y')
{if(del1==NULL) del1=p1;
else if(del2==NULL) del2=p1;
else del3=p1;}
if(p1==head) head=p1->next;
else p2->next=p1->next;
printf("\n已刪除設備編號%ld記錄!",number);
b=b-1;}
else
{printf("\n無此設備記錄!");
getch();}
printf("\n是否繼續刪除/Y/N?");
}
}while(getch()=='y');
getch();
return(head);
}

/*恢復函數*/
struct equipment *recover(struct equipment* head)
{ struct equipment *p0,*p1,*p2;
long rec_num,a=0;
cleardevice();
gotoxy(1,3);
do{printf("\n可恢復的設備編號:");
if(del1!=NULL)
{a=a+1;printf("\n%ld",del1->number); }
if(del2!=NULL)
{a=a+1;printf("\n%ld",del2->number);}
if(del3!=NULL)
{a=a+1;printf("\n%ld",del3->number); }
if(a==0)
{printf("\n沒有可恢復的數據,請按任意鍵退出!");
getch();
return(head); }
printf("\n請輸入要恢復的教學設備編號:");
scanf("%ld",&rec_num);
if(rec_num==del1->number)
{p0=del1;
del1=NULL;}
else if(rec_num==del2->number)
{p0=del2;

del2=NULL;}
else if(rec_num==del3->number)
{p0=del3;
del3=NULL;}
else {printf("\n輸入錯誤,按任意鍵返回!");
getch();
return(head);}
p1=head;
if(head==NULL)
{head=p0;p0->next=NULL;}
else
{while((p0->number>p1->number)&&(p1->next!=NULL))
{p2=p1;
p1=p1->next;}
if(p0->number<p1->number)
{if(head==p1){head=p0;p0->next=p1;}
else p2->next=p0;
p0->next=p1;
} else
{p1->next=p0;
p0->next=NULL;}}
n=n+1;
output(head);
printf("\n恢復成功,請按任意鍵返回!");
printf("\n是否繼續進行恢復Y/N?");
}while(getch()=='y');
getch();
return(head);
}
/*添加函數*/
struct equipment *insert(struct equipment* head,struct equipment *p)
{
char choice;
p=(struct equipment*)malloc(LEN);

do
{
clrscr();
printf("\n請輸入新的教學設備資料:");
printf("\n輸入編號:");
scanf("%ld",&p->number);
printf("\n輸入名稱:");
scanf("%s",p->name);
printf("\n輸入生產廠家:");
scanf("%s",p->adr);
printf("\n輸入購置日期:");
scanf("%ld",&p->date);
printf("\n輸入台數:");
scanf("%ld",&p->taishu);
printf("\n 輸入單價:");
scanf("%ld",&p->price);
p->amount=(p->taishu)*(p->price);
printf("\n輸入備注:");
scanf("%s",p->instruction);
printf("\n");
if(n==0)
{ n=n+1;
head=p; }
else
{p->next=head;head=p;n++;}
printf("\n您是否要繼續添加?(y/n)\n");
}while(getch()=='y');

return(head);
}
/*統計函數*/
void count(struct equipment* head)
{ int sum1=0,sum2=0,sum3=0,sum4=0,sum5=0,sum6=0,sum7=0,sum8=0;
struct equipment* p;
p=head;
while(p)
{ for(p=head;p!=NULL;p=p->next)
{ sum1+=p->taishu;
sum2+=p->amount;
if(p->amount<200)
{ sum3+=p->taishu;sum4+=p->amount; }
else
if(p->price<800)
{ sum5+=p->taishu;sum6+=p->amount; }
else
{ sum7+=p->taishu;sum8+=p->amount; }
}

}
output(head);
printf("\n 合計 %d %d\n",sum1,sum2);
n=n+1;
print1();
n=n-1;
printf("\n");
printf("\n");
printf("\n 200元以下的設備總台數及總金額: %d %d",sum3,sum4);
printf("\n 200--800元之間的設備總台數及總金額: %d %d",sum5,sum6);
printf("\n 800元以上的設備總台數及總金額: %d %d",sum7,sum8);
getch();

}
/*保存函數*/
void save(struct equipment *head)
{ FILE *fp;
struct equipment *p;
char name[20];
p=head;
cleardevice();
printf("\n請輸入要保存的文件名:");
scanf("%s",name);
if((fp=fopen(name,"wb"))==NULL)
{printf("\n對不起!不能建立新文件!按任意鍵返回!");
getch();
return;}
while(p->number!=NULL)
{fwrite(p,LEN,1,fp);
p=p->next;}
printf("\n保存結束,請按任意鍵返回!");
fclose(fp);
getch();}
/*打開函數*/
struct equipment *dakai(void)
{ struct equipment *head, *p1,*p2 ;
char name[20];
FILE *fp=NULL;
cleardevice();
p1=p2=(struct equipment *)malloc(LEN);
printf("\n請輸入要打開的文件名:");
head=p1;
scanf("%s",name);
if((fp=fopen(name,"rb"))==NULL)
{printf("\n對不起,沒有該文件!請按任意鍵返回!");
getch();}
fread(p1,LEN,1,fp);
while(!feof(fp))
{p2->next=p1;
p2=p1;
p1=(struct equipment*)malloc(LEN);
fread(p1,LEN,1,fp);n++;};
p2->next=NULL;
fclose(fp);
output(head);
printf("\n文件已輸出,請按任意鍵返回!");
getch();
return(head);
}



㈧ C語言課程設計之實驗設備管理系統

不要錢,幫忙寫。尼瑪

㈨ c語言程序設計~~計算機設備管理系統

直接網路文庫里找

閱讀全文

與c語言設計設備管理系統相關的資料

熱點內容
黑龍江特種設備檢驗研究院 瀏覽:210
機械化養護中心 瀏覽:838
上海特種設備管理 瀏覽:48
機械師改槍 瀏覽:181
機械化剪紙 瀏覽:757
美燃環保設備 瀏覽:809
濟南北斗星數控設備有限公司 瀏覽:838
自動噴塗機械手 瀏覽:457
中小型農業機械加工項目建議書 瀏覽:251
不銹鋼加工設備市轉讓 瀏覽:441
水稻生產全程機械化 瀏覽:110
扳手機械原理 瀏覽:61
凱格精密機械有限公司 瀏覽:61
廣毅機電設備 瀏覽:805
重慶三陽辦公設備有限公司 瀏覽:494
華技達自動化設備 瀏覽:631
東莞石碣自動化設備廠 瀏覽:131
機械制圖陳列櫃 瀏覽:246
鄭州奧鑫游樂設備公司 瀏覽:733
美邦環保設備有限公司 瀏覽:386