C語(yǔ)言實(shí)現(xiàn)學(xué)生管理系統(tǒng)
本文實(shí)例為大家分享了C語(yǔ)言實(shí)現(xiàn)學(xué)生管理系統(tǒng)的具體代碼,供大家參考,具體內(nèi)容如下
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
typedef struct student{
long number;//學(xué)號(hào)
char name[10];//姓名
char sex[3];//性別
int age;//年齡
float Chinese;//語(yǔ)文
float Math;//數(shù)學(xué)
float English;//英語(yǔ)
float sum;//求和
float average;//平均分
struct student *next;
}Stu,*StuList;
//函數(shù)聲明
//----------------------------------------------------------------------------------------------------------------------------------------------------------------
StuList creat(void);//總創(chuàng)建
StuList creat1(void);//鍵盤接收
StuList creat2(void);//讀取文件
StuList changes(StuList head);//更新
StuList modify(StuList head,long num);//修改
StuList del(StuList head,long num);//刪除
StuList insert(StuList head,StuList stud);//插入
StuList input(StuList head,StuList p1);//錄取信息
void sort(StuList head);//排序
void total_average_sort(StuList head);//求總分排序
void chinese_sort(StuList head);//求語(yǔ)文排序
void math_sort(StuList head);//數(shù)學(xué)排序
void english_sort(StuList head);//英語(yǔ)排序
void print(StuList head);//遍歷
void Statistics(StuList head);//統(tǒng)計(jì)
void search(StuList head);//查找
void numsearch(StuList head,long num);//學(xué)號(hào)查找
void namesearch(StuList head,char name[]);//名字查找
int n;//計(jì)算學(xué)生的總個(gè)數(shù)
//-----------------------------------------------------------------------------------------------------------------------------------------------------------------
StuList creat(void)//總創(chuàng)建
{
StuList head;
int k;
head=NULL;
printf("輸入學(xué)生信息的方式:1.從鍵盤輸入 2.從文件讀入 0.退出\n");
printf("請(qǐng)選擇:");
scanf("%d",&k);
switch(k)
{
case 1:head=creat1();break;
case 2:head=creat2();break;
case 0:break;
default:printf("輸入錯(cuò)誤,請(qǐng)重新輸入!\n");
}
return head;
}
//-----------------------------------------------------------------------------------------------------------------------------------------------------------------
StuList creat1(void)//從鍵盤接入
{
StuList head,p1;
n=0;
p1=(StuList)malloc(sizeof(Stu));//生成一個(gè)新的節(jié)點(diǎn)
printf("請(qǐng)輸入學(xué)生信息!\n");
head=NULL;
p1=input(head,p1);//讓p1指向已經(jīng)賦值的結(jié)構(gòu)體
while(p1->number!=0)
{
head=insert(head,p1);
p1=(StuList)malloc(sizeof(Stu));
p1=input(head,p1);
}
return head;
}
//----------------------------------------------------------------------------------------------------------------------------------------------------------------
StuList creat2(void)//從文件讀取
{
FILE *fp;
StuList head,p1;
n=0;
head=NULL;
if((fp=fopen("1.txt","r"))==NULL)
{
printf("打開文件失?。n");
exit(0);
}
p1=(StuList)malloc(sizeof(Stu));
while(!feof(fp))//檢測(cè)文件是否處在文件末尾如文件處在末尾則為1否則為0
{
fscanf(fp,"%ld%s%s%d%f%f%f%f%f\n",&p1->number,p1->name,p1->sex,&p1->age,&p1->Chinese,&p1->Math,&p1->English,&p1->sum,&p1->average);
head=insert(head,p1);
p1=(StuList)malloc(sizeof(Stu));
};
fclose(fp);
return head;
}
//----------------------------------------------------------------------------------------------------------------------------------------------------------------
StuList input(StuList head,StuList p1)//錄取信息的函數(shù)
{
int i,f,k;
StuList p2;
loop:printf("學(xué)號(hào)(為整數(shù),輸入0時(shí)返回上一級(jí)):");
scanf("%ld",&p1->number);
if(p1->number<0)
{
printf("學(xué)號(hào)不能為負(fù)數(shù),請(qǐng)重新輸入!\n");
goto loop;
}
else{
if(p1->number==0)
return p1;
else
{
p2=head;
f=0;
for(i=1;i<=n;i++)
{
if(p1->number==p2->number)
{
f=1;
break;
}
p2=p2->next;
}
}
if(f)
{
printf("學(xué)號(hào)不能重復(fù),請(qǐng)重新輸入!\n");
goto loop;
}
}
printf("姓名:");
scanf("%s",p1->name);
loop1:printf("性別: 1.男 2.女\n");
printf("請(qǐng)選擇性別:");
scanf("%d",&k);
switch(k)
{
case 1:strcpy(p1->sex,"男");break;
case 2:strcpy(p1->sex,"女");break;
default:printf("性別只能是“男”或“女”,請(qǐng)重新輸入!\n");
goto loop1;
}
printf("年齡:");
scanf("%d",&p1->age);
while(p1->age<0||p1->age>120)
{
printf("你輸入的年齡不符合實(shí)際情況,請(qǐng)重新輸入!\n");
printf("年齡:");
scanf("%d",&p1->age);
}
printf("語(yǔ)文成績(jī):");
scanf("%f",&p1->Chinese);
while(p1->Chinese<0||p1->Chinese>100)
{
printf("你輸入的語(yǔ)文成績(jī)不符合實(shí)際情況,請(qǐng)重新輸入!\n");
printf("語(yǔ)文成績(jī):");
scanf("%f",&p1->Chinese);
}
printf("數(shù)學(xué)成績(jī):");
scanf("%f",&p1->Math);
while(p1->Math<0||p1->Math>100)
{
printf("你輸入的數(shù)學(xué)成績(jī)不符合實(shí)際情況,請(qǐng)重新輸入!\n");
printf("數(shù)學(xué)成績(jī):");
scanf("%f",&p1->Math);
}
printf("英語(yǔ)成績(jī):");
scanf("%f",&p1->English);
while(p1->English<0||p1->English>100)
{
printf("你輸入的英語(yǔ)成績(jī)不符合實(shí)際情況,請(qǐng)重新輸入!\n");
printf("英語(yǔ)成績(jī):");
scanf("%f",&p1->English);
}
p1->sum=p1->Chinese+p1->Math+p1->English;
p1->average=p1->sum/3;
return p1;
}
//----------------------------------------------------------------------------------------------------------------------------------------------------------------
StuList insert(StuList head,StuList stud)
{
StuList p0,p1,p2;
p1=head;
p0=stud;
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;
}
else
{
p2->next=p0;
p0->next=p1;
}
}
else
{
p1->next=p0;
p0->next=NULL;
}
}
n=n+1;
return head;
}
//-----------------------------------------------------------------------------------------------------------------------------------------------------------------
void search(StuList head)
{
int k;
long num;
char name[10];
if(n==0)
{
printf("數(shù)據(jù)庫(kù)為空,沒有學(xué)生的記錄!\n");
return;
}
else{
do{
printf("1. 按學(xué)號(hào)查找 2. 按姓名查找 0. 返回上一級(jí)\n");
printf("請(qǐng)選擇:");
scanf("%d",&k);
switch(k)
{
case 1:do{
printf("學(xué)號(hào)(為整數(shù),輸入0時(shí)跳出按學(xué)號(hào)查找):");
scanf("%ld",&num);
if(num>0)
numsearch(head,num);
if(num<0)
printf("輸入錯(cuò)誤,請(qǐng)重新選擇!\n");
}while(num!=0);
break;
case 2:do{
printf("姓名(輸入0時(shí)跳出按姓名查找):");
scanf("%s",name);
printf("學(xué)號(hào)\t\t姓名\t性別\t年齡\t語(yǔ)文\t數(shù)學(xué)\t英語(yǔ)\t總分\t平均分\n");
namesearch(head,name);
}while(strcmp(name,"0")!=0);
break;
case 0:break;
default:printf("輸入錯(cuò)誤,請(qǐng)重新選擇!\n");
}
}while(k!=0);
}
}
//-----------------------------------------------------------------------------------------------------------------------------------------------------------------
void numsearch(StuList head,long num)
{
StuList p1;
p1=head;
while(p1!=NULL)
{
if(num==p1->number)
{
printf("學(xué)號(hào)\t\t姓名\t性別\t年齡\t語(yǔ)文\t數(shù)學(xué)\t英語(yǔ)\t總分\t平均分\n");
printf("%ld\t%s\t%s\t%d\t%.1f\t%.1f\t%.1f\t%.1f\t%.1f\n",p1->number,p1->name,p1->sex,p1->age,p1->Chinese,p1->Math,p1->English,p1->sum,p1->average);
return;
}
p1=p1->next;
}
printf("沒有找到你要查找的學(xué)生信息!\n");
}
//-----------------------------------------------------------------------------------------------------------------------------------------------------------------
void namesearch(StuList head,char name[])
{
int a=1;
StuList p1;
p1=head;
while(p1!=NULL)
{
if(strcmp(name,p1->name)==0)
{
printf("%ld\t%s\t%s\t%d\t%.1f\t%.1f\t%.1f\t%.1f\t%.1f\n",p1->number,p1->name,p1->sex,p1->age,p1->Chinese,p1->Math,p1->English,p1->sum,p1->average);
a=0;
}
p1=p1->next;
}
if(a)
{
printf("沒有找到你要查找的學(xué)生信息!\n");
}
}
//-----------------------------------------------------------------------------------------------------------------------------------------------------------------
StuList changes(StuList head)
{
StuList p1;
int k;
long num;
do{
printf("1. 修改 2. 刪除 3. 插入 0. 返回上一級(jí)\n");
printf("請(qǐng)選擇:");
scanf("%d",&k);
switch(k)
{
case 1:if(n==0)
{
printf("數(shù)據(jù)庫(kù)為空,沒有學(xué)生的記錄!\n");break;
}
else
do{
printf("請(qǐng)輸入學(xué)生的學(xué)號(hào)(學(xué)號(hào)應(yīng)為整數(shù),輸入0時(shí)跳出修改數(shù)據(jù)):");
scanf("%ld",&num);
if(num>0)
head=modify(head,num);
if(num<0)
printf("學(xué)號(hào)不能為負(fù)數(shù),請(qǐng)重新輸入!\n");
}while(num!=0);
break;
case 2:if(n==0)
{
printf("數(shù)據(jù)庫(kù)為空,沒有學(xué)生信息!\n");
break;
}
else
do{
printf("請(qǐng)輸入要?jiǎng)h除的學(xué)生的學(xué)號(hào)(學(xué)號(hào)應(yīng)為整數(shù),輸入0時(shí)跳出刪除元素):");
scanf("%ld",&num);
if(num>0)
head=del(head,num);
if(num<0)
printf("學(xué)號(hào)不能為負(fù)數(shù),請(qǐng)重新輸入!\n");
}while(num!=0);
break;
case 3:printf("請(qǐng)輸入學(xué)生信息!\n");
p1=(StuList )malloc(sizeof(Stu));
p1=input(head,p1);
while(p1->number!=0)
{
head=insert(head,p1);
print(head);
printf("請(qǐng)輸入學(xué)生信息!\n");
p1=(StuList )malloc(sizeof(Stu));
p1=input(head,p1);
}
break;
case 0:break;
default:printf("輸入錯(cuò)誤,請(qǐng)重新輸入!\n");
}
}while(k!=0);
return(head);
}
//-----------------------------------------------------------------------------------------------------------------------------------------------------------------
StuList modify(StuList head,long num)
{
StuList p1;
int k,m;
p1=head;
while(p1->next!=NULL)
{
if(p1->number==num)
break;
p1=p1->next;
}
if(p1->number==num)
{
do{
printf("1.姓名 2.性別 3.年齡 4.語(yǔ)文成績(jī) 5.數(shù)學(xué)成績(jī) 6.英語(yǔ)成績(jī) 0.返回上一級(jí)\n");
printf("請(qǐng)選擇:");
scanf("%d",&k);
switch(k)
{
case 1:printf("姓名:");scanf("%s",p1->name);printf("修改成功!\n");break;
case 2:loop2:printf("性別: 1.男 2.女\n");
printf("請(qǐng)選擇性別:");
scanf("%d",&m);
switch(m)
{
case 1:strcpy(p1->sex,"男");break;
case 2:strcpy(p1->sex,"女");break;
default:printf("性別只能是“男”或“女”,請(qǐng)重新輸入!\n");goto loop2;}
printf("修改成功!\n");
break;
case 3:printf("年齡:");
scanf("%d",&p1->age);
while(p1->age<0||p1->age>120)
{
printf("你輸入的年齡不符合實(shí)際情況,請(qǐng)重新輸入!\n");
printf("年齡:");
scanf("%d",&p1->age);
}
printf("修改成功!\n");
break;
case 4:printf("語(yǔ)文成績(jī):");
scanf("%f",&p1->Chinese);
while(p1->Chinese<0||p1->Chinese>100)
{
printf("你輸入的語(yǔ)文成績(jī)不符合實(shí)際情況,請(qǐng)重新輸入!\n");
printf("語(yǔ)文成績(jī):");
scanf("%f",&p1->Chinese);
}
p1->sum=p1->Chinese+p1->Math+p1->English;
p1->average=p1->sum/3;
printf("修改成功!\n");
break;
case 5:printf("數(shù)學(xué)成績(jī):");
scanf("%f",&p1->Math);
while(p1->Math<0||p1->Math>100){
printf("你輸入的數(shù)學(xué)成績(jī)不符合實(shí)際情況,請(qǐng)重新輸入!\n");
printf("數(shù)學(xué)成績(jī):");
scanf("%f",&p1->Math);}
p1->sum=p1->Chinese+p1->Math+p1->English;
p1->average=p1->sum/3;
printf("修改成功!\n");
break;
case 6:printf("英語(yǔ)成績(jī):");
scanf("%f",&p1->English);
while(p1->English<0||p1->English>100){
printf("年輸入的英語(yǔ)成績(jī)不符合實(shí)際情況,請(qǐng)重新輸入!\n");
printf("英語(yǔ)成績(jī):");
scanf("%f",&p1->English);}
p1->sum=p1->Chinese+p1->Math+p1->English;
p1->average=p1->sum/3;
printf("修改成功!\n");break;
case 0:break;
default:printf("輸入錯(cuò)誤,請(qǐng)重新選擇!\n");
}
}while(k!=0);
print(head);
}
else
printf("沒有找到你要修改的學(xué)生的信息!\n");
return(head);
}
//-----------------------------------------------------------------------------------------------------------------------------------------------------------------
void total_average_sort(StuList head)
{
StuList p1,p2;
int j=0;
float max,k=301;
printf("學(xué)號(hào)\t\t姓名\t性別\t年齡\t語(yǔ)文\t數(shù)學(xué)\t英語(yǔ)\t總分\t平均分\n");
do{
max=0;
for(p1=head;p1;p1=p1->next)
if(p1->sum>max&&p1->sum<k)
{
max=p1->sum;
p2=p1;
}
k=max;
for(p1=p2;p1;p1=p1->next)
if(p1->sum==max)
{
printf("%ld\t%s\t%s\t%d\t%.1f\t%.1f\t%.1f\t%.1f\t%.1f\n",p1->number,p1->name,p1->sex,p1->age,p1->Chinese,p1->Math,p1->English,p1->sum,p1->average);
j++;
}
}while(j<n);
}
//-----------------------------------------------------------------------------------------------------------------------------------------------------------------
void chinese_sort(StuList head)
{
int j=0;
float k=101,max;
StuList p1,p2;
printf("學(xué)號(hào)\t\t姓名\t性別\t年齡\t語(yǔ)文\t數(shù)學(xué)\t英語(yǔ)\t總分\t平均分\n");
do{
max=0;
for(p1=head;p1;p1=p1->next)
if(p1->Chinese>max&&p1->Chinese<k)
{
max=p1->Chinese;
p2=p1;
}
k=max;
for(p1=p2;p1;p1=p1->next)
if(p1->Chinese==max)
{
printf("%ld\t%s\t%s\t%d\t%.1f\t%.1f\t%.1f\t%.1f\t%.1f\n",p1->number,p1->name,p1->sex,p1->age,p1->Chinese,p1->Math,p1->English,p1->sum,p1->average);
j++;
}
}while(j<n);
}
//-----------------------------------------------------------------------------------------------------------------------------------------------------------------
void math_sort(StuList head)
{
int j=0;
float k=101,max;
StuList p1,p2;
printf("學(xué)號(hào)\t\t姓名\t性別\t年齡\t語(yǔ)文\t數(shù)學(xué)\t英語(yǔ)\t總分\t平均分\n");
do{
max=0;
for(p1=head;p1;p1=p1->next)
if(p1->Math>max&&p1->Math<k){
max=p1->Math;
p2=p1;}
k=max;
for(p1=p2;p1;p1=p1->next)
if(p1->Math==max){
printf("%ld\t%s\t%s\t%d\t%.1f\t%.1f\t%.1f\t%.1f\t%.1f\n",p1->number,p1->name,p1->sex,p1->age,p1->Chinese,p1->Math,p1->English,p1->sum,p1->average);
j++;}
}while(j<n);
}
//-----------------------------------------------------------------------------------------------------------------------------------------------------------------
void english_sort(StuList head)
{
int j=0;
float k=101,max;
StuList p1,p2;
printf("學(xué)號(hào)\t\t姓名\t性別\t年齡\t語(yǔ)文\t數(shù)學(xué)\t英語(yǔ)\t總分\t平均分\n");
do{
max=0;
for(p1=head;p1;p1=p1->next)
if(p1->English>max&&p1->English<k){
max=p1->English;
p2=p1;}
k=max;
for(p1=p2;p1;p1=p1->next)
if(p1->English==max){
printf("%ld\t%s\t%s\t%d\t%.1f\t%.1f\t%.1f\t%.1f\t%.1f\n",p1->number,p1->name,p1->sex,p1->age,p1->Chinese,p1->Math,p1->English,p1->sum,p1->average);
j++;}
}while(j<n);
}
//-----------------------------------------------------------------------------------------------------------------------------------------------------------------
void sort(StuList head)
{
int k;
if(n==0)
{
printf("數(shù)據(jù)庫(kù)為空,沒有學(xué)生記錄!\n");
return;
}
do{
printf("1.按學(xué)號(hào)排序 2.按總分和平均分排序 3.按語(yǔ)文成績(jī)排序 4.按數(shù)學(xué)成績(jī)排序 5.按英語(yǔ)成績(jī)排序 0.返回上一級(jí)\n");
printf("請(qǐng)選擇:");
scanf("%d",&k);
switch(k)
{
case 1:print(head);break;
case 2:total_average_sort(head);break;
case 3:chinese_sort(head);break;
case 4:math_sort(head);break;
case 5:english_sort(head);break;
case 0:break;
default:printf("輸入錯(cuò)誤,請(qǐng)重新輸入!\n");
}
}while(k!=0);
}
//-----------------------------------------------------------------------------------------------------------------------------------------------------------------
StuList del(StuList head,long num)
{
StuList p1,p2;
if(head==NULL)
{
printf("數(shù)據(jù)庫(kù)為空,沒有學(xué)生記錄! \n");
goto end;
}
p1=head;
while(num!=p1->number&&p1->next!=NULL)
{
p2=p1;p1=p1->next;
}
if(num==p1->number)
{
if(p1==head)
{
head=p1->next;
printf("刪除成功!\n");
}
else
{
p2->next=p1->next;
printf("刪除成功!\n");
}
n=n-1;
print(head);
}
else printf("沒有找到你要?jiǎng)h除的學(xué)生信息!\n",num);
end:;
return head;
}
//-----------------------------------------------------------------------------------------------------------------------------------------------------------------
void Statistics(StuList head)
{
StuList p1;
int i,c=0,m=0,e=0;
float cmax=0,mmax=0,emax=0,summax=0,averagemax=0;
if(n==0)
{
printf("數(shù)據(jù)庫(kù)為空,沒有學(xué)生的信息!\n");
return;
}
p1=head;
for(i=1;i<=n;i++)
{
if(p1->Chinese>=cmax)
cmax=p1->Chinese;
if(p1->Math>=mmax)
mmax=p1->Math;
if(p1->English>=emax)
emax=p1->English;
if(p1->sum>=summax)
summax=p1->sum;
if(p1->average>=averagemax)
averagemax=p1->average;
if(p1->Chinese<60)
c++;
if(p1->Math<60)
m++;
if(p1->English<60)
e++;
p1=p1->next;
}
printf("總成績(jī)最高分:%5.1f\n",summax);
printf("平成績(jī)最高分:%5.1f\n",averagemax);
printf("語(yǔ)文成績(jī)最高粉:%5.1f\n",cmax);
printf("數(shù)學(xué)成績(jī)最高分:%5.1f\n",mmax);
printf("英語(yǔ)成績(jī)最高分:%5.1f\n",emax);
printf("語(yǔ)文成績(jī)沒有及格的人數(shù):%d\n",c);
printf("數(shù)學(xué)成績(jī)沒有及格的人數(shù):%d\n",m);
printf("英語(yǔ)成績(jī)沒有及格的人數(shù):%d\n",e);
printf("\n");
}
//-----------------------------------------------------------------------------------------------------------------------------------------------------------------
void print(StuList head)
{
StuList p1;
if(n==0)
{
printf("數(shù)據(jù)庫(kù)為空,沒有學(xué)生信息!\n");
return;
}
printf("\n現(xiàn)在的%d個(gè)學(xué)生記錄為:\n",n);
p1=head;
if(head!=NULL)
{
printf("學(xué)號(hào)\t\t姓名\t性別\t年齡\t語(yǔ)文\t數(shù)學(xué)\t英語(yǔ)\t總分\t平均分\n");
do {
printf("%ld\t%s\t%s\t%d\t%.1f\t%.1f\t%.1f\t%.1f\t%.1f\n",p1->number,p1->name,p1->sex,p1->age,p1->Chinese,p1->Math,p1->English,p1->sum,p1->average);
p1=p1->next;
}while(p1!=NULL);
}
}
//-----------------------------------------------------------------------------------------------------------------------------------------------------------------
void save(StuList head)
{
FILE *fp;
StuList p1;
if(n==0)
{
printf("你還沒有建立數(shù)據(jù)庫(kù)!請(qǐng)先建立數(shù)據(jù)庫(kù)!\n");
return;
}
if((fp=fopen("1.txt","w+"))==NULL)
{
printf("不能打開文件!\n");
exit(0);
}
for(p1=head;p1!=NULL;p1=p1->next)
fprintf(fp,"%ld\t%s\t%s\t%d\t%5.1f\t%5.1f\t%5.1f\t%5.1f\t%5.1f\n",p1->number,p1->name,p1->sex,p1->age,p1->Chinese,p1->Math,p1->English,p1->sum,p1->average);
printf("保存成功!\n");
fclose(fp);
}
//-----------------------------------------------------------------------------------------------------------------------------------------------------------------
int main()
{
int choice;
StuList head;
head=NULL;
do{
printf("*******************************************************************************\n");
printf("^_^_^_^_^_^_^_^_^_^_^_^_^_^歡迎來(lái)到學(xué)生成績(jī)管理系統(tǒng)!^_^_^_^_^_^_^_^_^_^_^_^_^_^\n");
printf(" \n");
printf(" 學(xué)生成績(jī)管理系統(tǒng)的基本功能: \n");
printf(" 1. 新建; \n");
printf(" 2. 查找; \n");
printf(" 3. 更新; \n");
printf(" 4. 排序; \n");
printf(" 5. 統(tǒng)計(jì); \n");
printf(" 6. 顯示; \n");
printf(" 7. 保存; \n");
printf(" 0. 跳出; \n");
printf(" \n");
printf(" 按鍵選擇,回車確定! \n");
printf(" \n");
printf("^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^\n");
printf("*******************************************************************************\n");
printf("請(qǐng)選擇:");
scanf("%d",&choice);
while(getchar()!='\n');
switch(choice)
{
case 1:head=creat();print(head);break;
case 2:search(head);break;
case 3:head=changes(head);break;
case 4:sort(head);break;
case 5:Statistics(head);break;
case 6:print(head);break;
case 7:save(head);break;
case 0:break;
default:printf("輸入錯(cuò)誤,請(qǐng)重新選擇!\n");
}
}while(choice!=0);
}
運(yùn)行結(jié)果如下:

更多學(xué)習(xí)資料請(qǐng)關(guān)注專題《管理系統(tǒng)開發(fā)》。
以上就是本文的全部?jī)?nèi)容,希望對(duì)大家的學(xué)習(xí)有所幫助,也希望大家多多支持腳本之家。
- C語(yǔ)言結(jié)構(gòu)體鏈表和指針實(shí)現(xiàn)學(xué)生管理系統(tǒng)
- 基于C語(yǔ)言實(shí)現(xiàn)學(xué)生管理系統(tǒng)
- c語(yǔ)言實(shí)現(xiàn)學(xué)生管理系統(tǒng)詳解
- C語(yǔ)言實(shí)現(xiàn)班級(jí)學(xué)生管理系統(tǒng)
- C語(yǔ)言不用鏈表完成學(xué)生管理系統(tǒng)(完整代碼)
- C語(yǔ)言單鏈表實(shí)現(xiàn)學(xué)生管理系統(tǒng)
- C語(yǔ)言鏈表實(shí)現(xiàn)學(xué)生管理系統(tǒng)
- C語(yǔ)言實(shí)現(xiàn)簡(jiǎn)單學(xué)生管理系統(tǒng)
- C語(yǔ)言學(xué)生管理系統(tǒng)源碼分享
- C語(yǔ)言實(shí)現(xiàn)簡(jiǎn)易學(xué)生管理系統(tǒng)
相關(guān)文章
C++使用一棵紅黑樹同時(shí)封裝出map和set實(shí)例代碼
紅黑樹(Red?Black?Tre)是一種自平衡二叉查找樹,是在計(jì)算機(jī)科學(xué)中用到的一種數(shù)據(jù)結(jié)構(gòu),典型的用途是實(shí)現(xiàn)關(guān)聯(lián)數(shù)組,下面這篇文章主要給大家介紹了關(guān)于C++使用一棵紅黑樹同時(shí)封裝出map和set的相關(guān)資料,需要的朋友可以參考下2023-04-04
java實(shí)現(xiàn)任意四則運(yùn)算表達(dá)式求值算法
這篇文章主要介紹了java實(shí)現(xiàn)任意四則運(yùn)算表達(dá)式求值算法,實(shí)例分析了基于java實(shí)現(xiàn)表達(dá)式四則運(yùn)算求值的原理與技巧,具有一定參考借鑒價(jià)值,需要的朋友可以參考下2015-04-04
利用C語(yǔ)言實(shí)現(xiàn)HashTable
根據(jù)KEY從hashtable中獲取接點(diǎn),步驟是先根據(jù)KEY計(jì)算hash值,然后從hashtable中找到指定的接點(diǎn)或者接點(diǎn)鏈表2013-09-09
Qt?QtCreator添加自定義注釋的實(shí)現(xiàn)方法
在寫代碼的時(shí)候我們?yōu)榱艘?guī)范化,一般會(huì)加文件注釋、類注釋和函數(shù)注釋,本文主要介紹了Qt?QtCreator添加自定義注釋的實(shí)現(xiàn)方法,具有一定的參考價(jià)值,感興趣的可以了解一下2023-11-11
C 語(yǔ)言restrict 關(guān)鍵字的使用淺談
C 語(yǔ)言restrict 關(guān)鍵字的使用淺談,需要的朋友可以參考一下2013-04-04
C語(yǔ)言數(shù)據(jù)結(jié)構(gòu)二叉樹簡(jiǎn)單應(yīng)用
這篇文章主要介紹了C語(yǔ)言數(shù)據(jù)結(jié)構(gòu)二叉樹簡(jiǎn)單應(yīng)用的相關(guān)資料,需要的朋友可以參考下2017-05-05

