學生管理系統

2021-05-21 22:00:42 字數 1076 閱讀 7405

#include"stdio.h"

#include

#include

#include

struct student

;void print(void);

void display(struct student *head)}}

struct student *creat()

q->next=null;

display(head);

return head;

}void found(struct student *head)

else

if(p->num==n)

printf("%-4ld        %-8s          %-1c         %-2d/n",p->num,p->name,p->***,p->age);

else

printf("沒有找到!");}}

struct student *del(struct student *head)

p=head;

while(p->num!=n&&p->next!=null)

if(p->num==n)

else

printf("沒有找到!/n");

return head;

}struct student *input(void)

struct student *insert(struct student *head,struct student *r)

else

if(p->num<=r->num)

else

}return head;

}void print(void)

int  main(void)

break;

case 4:         head=del(head);break;

case 5:         display(head);break;

case 6:         exit(0);

default:   printf("輸入錯誤,請再次輸入!");

} }return 0;

}

學生管理系統

任務 提供 管理員 和 使用者 乙個系統 可以檢視學生資訊 系統提供 帳號登入 資訊管理功能 管理員使用者可以對學生資訊進行 增 刪 改 查 並 同時能夠 管理賬戶 資訊 普通使用者 只能進行 對資訊的查詢功能 可以根據學號 或者 姓名查詢 1.初始化 3個檔案 配置檔案 帳號資訊檔案 學生資訊檔案...

學生管理系統

注釋 這個小的系統,主要體現了c語言的 分而治之,重用 也就是老師教函式時給我們說的最核心的思想。主要吧,就是先在開始 定義後面要使用的函式,再定義一些全域性變數 再在主函式中一一呼叫。在主函式後面 再一一的寫這些函式體 也就是乙個個小的演算法慢慢湊起來 就組成了 include include i...

學生管理系統

student infor list 新增學生資訊 def addstu student infor list stu name input 請輸入學生姓名 stu input 請輸入學生的性別 stu age int input 請輸入學生的年齡 stuinfo stuinfo name stu ...