1樓:婁薇薄智勇
c語言編寫的學生資訊管理系統的設計與實現,不知道是不是你要的。
2樓:匿名使用者
哇,見到那程式我怕怕啊!!!!!一樓的可以叫"牛c"了!
3樓:匿名使用者
#include
#include
#include
struct stud
; typedef struct stucode
l; void menu();
void createlist(struct stucode **r);
void out(struct stucode *r);
void search1(struct stucode *r);
void search2(struct stucode *r);
void del(struct stucode **r);
void insert(struct stucode **r);
void sort(struct stucode **r);
void main() }
} void createlist(struct stucode **r) }
void search1(struct stucode *r)
printf(" 請輸入要查詢的學生資訊的學生學號:\n");
scanf("%ld",&x);
while(r&&r->student.num!=x)
r=r->next;
if(r==null)
printf("error! no such student !\n");
else
printf("%ld %s %.2lf\n",r->student.num,r->student.name,r->student.score);
} void search2(struct stucode *r)
printf(" 請輸入要查詢的學生資訊的學生姓名:\n");
scanf("%s",m);
while(r&&strcmp(r->student.name,m))
r=r->next;
if(r==null)
printf("error! no such student !\n");
else
printf("%ld %s %.2lf\n",r->student.num,r->student.name,r->student.score);
} void del(struct stucode **r)
printf(" 請輸入要刪除的學生資訊的學生學號:\n");
scanf("%ld",&k);
if(p->student.num==k)
*r=(*r)->next,free(p);
else }
} void insert(struct stucode **r)
if(p->student.num<(*r)->student.num)
p->next=(*r),(*r)=p;
else }
void sort(struct stucode **r)
if(!(*r)||!(*r)->next)
return;
t=*r;
p=t->next;
t->next=null;
while(p)
else
p=q;
} *r=t;
} void out(struct stucode *r)
while(r)
printf("\n\n");
} void menu()
C語言課程設計,C語言課程設計
我做過類似的題目,把郵箱給我,如果感覺可以的話,要考慮給我加分哦 c語言課程設計 100 超市會員管理系統設計好的,可以搞定。c語言課程設計難嗎?c語言這門課難還是課程設計難?我學的第一種程式語言就是c語言。c語言這門課不難,但是想學好就比較難。c語言的課程設計,如果你c語言學得好,那你很輕鬆就能做...
用C 編職工工資管理系統課程設計
include include include include define filename staff.txt 資料檔案 struct staff 職工機構體 檔案操作模組 file fp 全域性檔案指標 file fileopen char filename 檔案開啟函式 fp fopen f...
用c 設計的簡單學生學籍管理系統
要別人跟你寫程式,不給錢不說。才給5分懸賞,你還是自己想辦法吧。使用下面的資料,用c c 設計乙個簡單的學籍管理系統,實現出最基本的功能。學生基本資訊檔案 a.txt 及其 include include include using namespace std struct student stru...
求資料結構課程設計c語言排序綜合利用隨機
冒泡法 include include include define n 10000 void init array int a n int n void display int a n int n else if m r end for i l start i r end i int msort ...
資料結構課程設計哈夫曼編碼解碼用c語言
include include include define n 8 define m 2 n 1 define max 2000 typedef struct huffm huffm ht m 1 typedef struct ctype void huffmtree huffm ht m 1 v...