資源簡介
超市管理系統 。
代碼片段和文件信息
#include
#include
#include
#define?NUM?5
/*?【自學去】網站收集?http://www.zixue7.com?*/
struct?item{
char?brand[20];
char?id[10];
float?in_price;
float?out_price;
int???storage;
};
struct?item_node{
struct?item?wanted;
int????amount;
struct?item_node?*next;
};
int?menu();
void?establish();
void?dis_all();
void?shop_cart();
int??cart_menu();
void?add();
void?display();
void?calculate();
struct?item?goods[NUM];
struct?item_node?*cart;
void?main()
{
printf(“***********************************\n“);
printf(“?????歡迎進入超市管理系統\n“);
printf(“***********************************\n“);
while(1)
{
switch(menu())
{
case?1:
establish();break;
case?2:
dis_all();break;
case?3:
shop_cart();break;
case?4:
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2015-03-31?17:51??C語言超市管理系統\
?????文件?????????121??2015-05-17?06:52??C語言超市管理系統\it學習網.url
?????文件????????5500??2015-05-17?06:56??C語言超市管理系統\system.cpp
評論
共有 條評論