資源簡介
本科C語言課程設計,超市商品庫存管理系統(tǒng)(純C語言,當時很笨,調(diào)用函數(shù)自己畫的界面)
具體功能:
以某超市為研究對象,了解超市商品進出庫管理的基本數(shù)據(jù)流程,能對超市商品進行日常維護(錄入、刪除、編輯修改)
具有存儲、出庫、入庫、查找、統(tǒng)計等功能。

代碼片段和文件信息
#include“head.h“
void?choose(char?*pass)
{
char?c;
while(1)
{
?c=getch();
?if(c==‘1‘)
{
caidan2();
?????choose1();
}
if(c==‘2‘)
{
caidan3();
choose2();
}
if(c==‘3‘)
{
exit(1);
}
if(c==‘4‘)
{
caidan5();
choose4(pass);
}
if(c==‘5‘)
{
texit();
caidan1();
continue;
}
?????}
}
void?choose1()
{
char?c;
while(1)
{
c=getch();
if(c==‘1‘)
{
shuru();
input2();
}
if(c==‘2‘)
{
shuru1();
input3();
}
if(c==‘3‘)
{
caidan1();
return;
}
if(c==‘4‘)
{???
texit();
caidan2();
continue;
}
???}
}
void??choose2()
{
char?c;
while(1)
???{
c=getch();
if(c==‘1‘)
{
shuchu(1);
output();
}
if(c==‘2‘)
{
shuru2();
input4();
}
if(c==‘3‘)
{
caidan1();
return;
}
if(c==‘4‘)
{???
texit();
caidan3();
continue;
}
???}
}
void?choose4(char?*pass)
{
char?c;
while(1)
???{
c=getch();
if(c==‘1‘)
{
shuru2();
input5();
}
if(c==‘2‘)
{
shuru2();
input7();
}
if(c==‘3‘)
{
shuru4();
input8(pass);
}
if(c==‘4‘)
{
caidan1();
return;
}
if(c==‘5‘)
{???
texit();
caidan5();
continue;
}
???}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????6332??2010-10-17?00:02??ks\ATT.BGI
?????文件??????14670??2010-10-17?00:02??ks\BOLD.CHR
?????文件???????1240??2010-10-17?00:02??ks\choose.c
?????文件???????6443??2010-10-17?00:02??ks\draw.c
?????文件???????5554??2010-10-17?00:02??ks\EGAVGA.BGI
?????文件???????8439??2010-10-17?00:02??ks\EURO.CHR
?????文件???????2304??2010-10-17?00:02??ks\FUN.BAK
?????文件???????2569??2010-10-17?00:02??ks\FUN.C
?????文件??????18063??2010-10-17?00:02??ks\GOTH.CHR
?????文件???????1279??2010-10-24?08:31??ks\head.h
?????文件???????6204??2010-10-17?00:02??ks\HERC.BGI
?????文件?????267616??2010-10-17?00:02??ks\HZK16
?????文件???????6665??2010-10-17?00:02??ks\IBM8514.BGI
?????文件???????2767??2010-10-17?00:02??ks\INPUT.BAK
?????文件??????10446??2010-10-17?00:02??ks\INPUT.C
?????文件?????????40??2010-10-17?00:02??ks\key.txt
?????文件??????12083??2010-10-17?00:02??ks\LCOM.CHR
?????文件???????5131??2010-10-17?00:02??ks\LITT.CHR
?????文件????????228??2010-10-17?00:02??ks\main.c
?????文件?????????38??2010-10-17?00:02??ks\output.c
?????文件???????6012??2010-10-17?00:02??ks\PC3270.BGI
?????文件??????13596??2010-10-17?00:02??ks\SANS.CHR
?????文件??????10987??2010-10-17?00:02??ks\SCRI.CHR
?????文件???????8437??2010-10-17?00:02??ks\SIMP.CHR
?????文件????????584??2010-10-17?00:02??ks\T.DSK
?????文件???????5603??2010-10-17?00:02??ks\T.PRJ
?????文件????????180??2010-10-17?00:02??ks\test.txt
?????文件??????16677??2010-10-17?00:02??ks\TRIP.CHR
?????文件??????17355??2010-10-17?00:02??ks\TSCR.CHR
?????文件????????224??2010-10-17?00:02??ks\TT.BAK
............此處省略7個文件信息
評論
共有 條評論