① c語言程序設計 超市商品信息管理系統
假設某超市經營各種商品,每種商品包括以下信息:商品編號、商品名稱、商品品牌、庫存數量、售價、已售數量。系統的主要功能包括:1. 創建商品信息文件:根據提示輸入若干商品的信息,並將信息保存至一個文件中。2. 商品進貨管理:每次購入新商品,需按要求輸入商品所含各項信息並存入商品信息文件中。如果已經存在該商品(以商品編號為准),則修改相應的庫存數量信息,否則生成新的商品信息記錄。3. 商品銷售管理:每次有商品銷售出去,則按要求輸入商品編號和商品名稱信息,並修改相應的商品信息文件。注意:商品銷售時要檢查庫存數量的合法性(即銷售出去的數量必須小於庫存數量)。4. 按不同條件進行查詢操作,輸出滿足條件的商品信息。(1) 輸入商品名稱,在商品信息文件中查找相應的商品信息並輸出。(2) 輸入商品品牌,在商品信息文件中查找該品牌的所有信息並輸出。5. 按不同條件對商品信息進行統計工作。(1) 輸入商品名稱,在商品信息文件中統計該商品的銷售總額。(2) 設置一個庫存數量警戒值,輸出庫存數量小於該警戒值的所有庫存商品的信息。(3) 輸入商品品牌,在商品信息文件中統計其不同商品名稱的庫存量,並輸出庫存量最高的那個商品的信息。
② 誰有庫存管理的C語言源代碼要求有查找,商品入庫,出庫,統計等功能
我有一個C語言寫的學生管理系統,前久我們老師叫寫的,增刪改插,排序,統計,等功能均有,想要的話Q我455863615
③ 編寫C語言倉庫管理系統
有答案的也發下我郵箱[email protected] 謝謝啦
④ c語言設計商品信息管理系統
如果你不是為了學慣用途,直接用藍點產品管理系統好了,這些需求基本直接就實現了的。
⑤ 產品出庫管理系統C語言編程
系統結構
圖1 RFID倉儲管理系統結構圖
RFID倉儲管理系統由業務管理軟體、RFID標簽發行系統和RFID標簽識別採集系統組成,這幾個系統互相聯系,共同完成物品管理的各個流程。後台資料庫管理系統是整個系統的核心,RFID識別採集是實現管理功能的基礎和手段。
後台管理軟體由中心數據伺服器和管理終端組成,是系統的數據中心。負責與手持機通訊,將手持機上傳的數據轉換並插入到後台業務倉儲管理系統的資料庫中,對標簽管理信息、發行標簽和採集的標簽信息集中進行儲存和處理。
RFID標簽發行系統由電子標簽專用列印機和標簽製作管理軟體組成,負責完成庫位標簽、物品標簽、箱標簽的信息寫入和標簽表面信息列印工作。
電子標簽專用列印機採用內嵌非接觸讀寫器的工業級熱轉印列印機,能夠在標簽晶元寫入信息的同時在標簽表面列印預先設定的內容信息。標簽製作管理軟體的核心是標簽製作函數動態連接庫,它嵌入在後台系統內,為後台倉儲管理系統提供操作列印機製作標簽的開發介面函數。基於該動態庫還提供了一個獨立的標簽製作軟體,可以手工輸入標簽數據,便於臨時製作標簽。
RFID標簽識別採集系統可通過手持機或固定位置終端採集標簽信息,完成標簽數據的存儲,並通過RFID中間件與管理中心進行數據的交換。
系統功能
本系統利用電子標簽對每一個需要管理的對象在其管理周期內進行標記管理。管理人員利用本系統可以實時了解掌控每個被管理對象(物品)的性質、狀態、位置、歷史變化等信息,並根據這些信息採取相應的管理對策和措施,達到提高使用單位的運營水平和管理質量的目的。可以廣泛用於軍隊、鐵路、醫療衛生、煙草、電信等行業企事業單位的倉儲管理。
根據需求,系統包含了若干模塊:系統管理、標簽製作、入庫管理、出庫管理、盤點管理、調撥管理、退換管理、報表分析、終端數據採集程序。
系統管理:系統設置以及系統用戶信息和許可權。
標簽製作:依據入庫單及標簽製作申請單錄入的貨物信息生成每個物品的電子標簽,在標簽表面上列印標簽序號及產品名稱、型號規格,在晶元內記錄產品的詳細信息。
入庫管理:入庫時,倉庫管理員根據訂貨清單清點檢查每一件貨品,檢查合格後交給倉庫保管員送入庫房。倉庫保管員持手持機掃描貨架庫位標簽和入庫物品上的標簽並輸入物品數量進行入庫登記,數據記入手持機內的入庫操作數據表,然後將物品放置到指定庫位上。
如果需要將物品裝入包裝箱內存放,還需要掃描箱標簽以更新手持機內箱明細表。
全部物品入庫完畢後,將手持機交給管理員,由管理員將入庫數據導入後台管理資料庫內,完成入庫操作。
經過這一流程後,倉庫中每一種物品的位置、數量、規格型號等都可以在倉儲管理軟體中一目瞭然的查找出來,實現了倉儲狀態的可視化。
出庫管理:出庫時,倉庫管理員根據根據領料申請查詢倉儲狀態,然後做出預出庫單;保管員根據預出庫單將指定庫位的物品取出,使用手持機掃描庫位標簽和物品標簽將出庫信息進行登記,數據記入手持機出庫數據表;全部出庫物品取出後將出庫信息上傳到主機,與預出庫單作比較,並根據實出數量進行登帳。
盤點管理:使用手持數據採集終端進行數據的採集,如物品標簽、擺放貨架、物品數量等。系統可根據事先設定的產品分類,自動產生或人工選擇產生盤點任務表,進行盤點作業,盤點作業主要掃描產品標簽和相應的庫位信息。數據上傳後,系統會自動列出已盤產品與未盤產品,並根據需求進行盤盈、盤虧等操作。
調撥管理:出現調撥情況時,根據調撥情況選擇不同的調撥流程。
退換貨管理:客戶退貨的時候,通過讀取產品標簽可以查詢的該產品是否是屬於此客戶,銷售時間等信息,並且方便查詢當時的銷售信息,進行有效的監督和管理。對於確認需要退貨的產品,手持機在讀取標簽時會將當前時間寫入標簽中的退貨時間欄位。
報表分析:對系統的數據進行統計分析,生成相關報表。
⑥ c語言程序設計家電倉庫管理系統 求大神幫助
#include <stdafx.h>
#include<stdio.h>
#include<string.h>
#define SIZE 2//SIZE為倉庫電器種類
struct goods
{
char name[10];
char brand[10];
char style[10];
int num;
float money;
}stu[SIZE];//庫存結構
struct date
{
int year;
int month;
int day;
};//日期結構
struct entrance
{
char name[10];
char brand[10];
char style[10];
int num;
float money;
struct date time;
char stuf[10];
}stu_2[SIZE];//入庫結構
struct exit
{
char name[10];
char brand[10];
char style[10];
int num;
struct date time;
char stuf[10];
}stu_3[SIZE];//出庫結構
void main()
{
void save_1();
void save_2();
void save_3();
void change_1();
void change_2();
void found_1();
void found_2();
int i;
printf("please input the information:\n");
for(i=0;i<SIZE;i++)
{
scanf("%s%s%s%d%d",stu[i].name,stu[i].brand,stu[i].style,&stu[i].num,&stu[i].money);
} //輸入庫存
save_1(); //利用函數將庫存保存
FILE *fp;
fp=fopen("stu_list.txt","rb");
for(i=0;i<SIZE;i++)
{
fread(&stu[i],sizeof(struct goods),1,fp);
printf("%s %s %s %d %d",stu[i].name,stu[i].brand,stu[i].style,stu[i].num,stu[i].money);
printf("\n");
} //讀出信息
fclose(fp);
printf("請輸入物資入庫信息:\n");//輸入入庫信息
for(i=0;i<SIZE;i++)
scanf("%s%s%s%d%f%d%d%d%s",stu_2[i].name,stu_2[i].brand,stu_2[i].style,&stu_2[i].num,&stu_2[i].money,&stu_2[i].time.year,&stu_2[i].time.month,&stu_2[i].time.day,stu_2[i].stuf);
save_2(); //創建入庫文件
change_1();
printf("請輸入出庫信息\n");
scanf("%s%s%s%d%d%d%d%s",stu_3[i].name,stu_3[i].brand,stu_3[i].style,&stu_3[i].num,&stu_3[i].time.year,&stu_3[i].time.month,&stu_3[i].time.day,stu_3[i].stuf);
for(i=0;i<SIZE;i++)
{
if(stu_3[i].num>stu[i].num)
{
printf("the error number!please input again!\n");
break;
}
else
{
save_3();
change_2();
}
}
found_1();
found_2();
}
void save_1()
{
FILE *fp;
int i;
if((fp=fopen("stu_list.txt","wb"))==NULL)
{
printf("connot open the file\n");
return;
}
for(i=0;i<SIZE;i++)
{
if(fwrite(&stu[i],sizeof(struct goods),1,fp)!=1)
printf("file write error\n");
}
fclose(fp);
}
void save_2()
{
FILE *fp;
int i;
if((fp=fopen("stu_list_2.txt","wb"))==NULL)
{
printf("connot open the file\n");
return;
}
for(i=0;i<SIZE;i++)
{
if(fwrite(&stu_2[i],sizeof(struct entrance),1,fp)!=1)
printf("file write error\n");
}
fclose(fp);
}
void change_1()
{
int i;
for(i=0;i<SIZE;i++)
{
if(strcmp(stu[i].name,stu_2[i].name)==0&&strcmp(stu[i].brand,stu_2[i].brand)==0&&strcmp(stu[i].style,stu_2[i].style)==0)
{
stu[i].num=stu[i].num+stu_2[i].num;
}
}
save_1();
}
void save_3()
{
FILE *fp;
int i;
if((fp=fopen("stu_list_3.txt","wb"))==NULL)
{
printf("connot open the file\n");
return;
}
for(i=0;i<SIZE;i++)
{
if(fwrite(&stu_3[i],sizeof(struct exit),1,fp)!=1)
printf("file write error\n");
}
fclose(fp);
}
void change_2()
{
int i;
for(i=0;i<SIZE;i++)
{
if(strcmp(stu[i].name,stu_3[i].name)==0&&strcmp(stu[i].brand,stu_3[i].brand)==0&&strcmp(stu[i].style,stu_3[i].style)==0)
{
stu[i].num=stu[i].num-stu_3[i].num;
}
}
save_1();
}
void found_1()
{
FILE *fp;
int i;
int sum=0;
char name[10];
char brand[10];
printf("please input the name and brand:\n");//4.1 4.2 5.1
scanf("%s%s",name,brand);
if((fp=fopen("stu.list.txt","rb"))==NULL)
{
printf("connot open the file!\n");
return;
}
for(i=0;i<SIZE;i++)
{
if(fread(&stu[i],sizeof(struct goods),1,fp)!=1)
{
if(strcmp(name[10],stu[i].name[10])==0)
{
printf("the information of the good:\n");
printf("%s %s %s %d %d",stu[i].name,stu[i].brand,stu[i].style,stu[i].num,stu[i].money);
sum=sum+stu[i].num;
}
if(strcmp(brand[10],stu[i].brand[10])==0)
{
printf("the information of the good:\n");
printf("%s %s %s %d %d",stu[i].name,stu[i].brand,stu[i].style,stu[i].num,stu[i].money);
}
}
}
printf("the number of this %s is %d.\n",name[10],sum);
}
void found_2()
{
FILE *fp;
int i;
int j;
int sum=0;
int year_1,year_2,month_1,month_2,day_1;
char name_1[10],name_2[10],style_1[10];
if((fp=fopen("stu_list_2.txt","rb"))==NULL)
{
printf("connot open the file!\n");
return;
}
if((fp=fopen("stu_list_3.txt","rb"))==NULL)
{
printf("connot open the file!\n");
return;
}
printf("please input year_1,month_1,day_1,then find the exit and entrance:\n");
scanf("%d%d%d",&year_1,&month_1,&day_1);
printf("please input the name and style,then find the good's entrance and exit");
scanf("%s%s",name_1,style_1);
printf("please input the name of the good,then output the number or its entrance:\n");
scanf("%s",name_2);
printf("please input year_2 and month_2,then output the number of exit in this month:\n");
scanf("%d%d",&year_2,&month_2);
printf("please input the red number,then output all the informations of the goods:\n");
scanf("%d",&j);
for(i=0;i<SIZE;i++)
{
if((fread(&stu_2[i],sizeof(struct entrance),1,fp)!=1)&&(fread(&stu_3[i],sizeof(struct exit),1,fp)!=1))//讀出入庫和出庫信息
{
if((stu_2[i].time.year==year_1)&&(stu_2[i].time.month==month_1)&&(stu_2[i].time.day==day_1))//入庫信息4.3
{
printf("%s%s%s%d%f%d%d%d%s",stu_2[i].name,stu_2[i].brand,stu_2[i].style,stu_2[i].num,stu_2[i].money,stu_2[i].time.year,stu_2[i].time.month,stu_2[i].time.day,stu_2[i].stuf);
}
if((stu_3[i].time.year==year_1)&&(stu_3[i].time.month==month_1)&&(stu_3[i].time.day==day_1))//出庫信息4.3
{
printf("%s%s%s%d%d%d%d%s",stu_3[i].name,stu_3[i].brand,stu_3[i].style,stu_3[i].num,stu_3[i].time.year,stu_3[i].time.month,stu_3[i].time.day,stu_3[i].stuf);
}
}
}
for(i=0;i<SIZE;i++)//4.4
{
if((fread(&stu_2[i],sizeof(struct entrance),1,fp)!=1)&&(fread(&stu_3[i],sizeof(struct exit),1,fp)!=1))//讀出入庫和出庫信息
{
if((strcmp(stu_2[i].name,name_1))==0&&(strcmp(stu_2[i].style,style_1))==0)
{
printf("%s%s%s%d%f%d%d%d%s",stu_2[i].name,stu_2[i].brand,stu_2[i].style,stu_2[i].num,stu_2[i].money,stu_2[i].time.year,stu_2[i].time.month,stu_2[i].time.day,stu_2[i].stuf);
}
if((strcmp(stu_3[i].name,name_1))==0&&(strcmp(stu_3[i].style,style_1))==0)
{
printf("%s%s%s%d%d%d%d%s",stu_3[i].name,stu_3[i].brand,stu_3[i].style,stu_3[i].num,stu_3[i].time.year,stu_3[i].time.month,stu_3[i].time.day,stu_3[i].stuf);
}
}
}
for(i=0;i<SIZE;i++)//5.3
{
if((fread(&stu_3[i],sizeof(struct exit),1,fp)!=1))
if(stu_3[i].time.year==year_2&&stu_3[i].time.month==month_2)
{
sum=sum+stu_3[i].num;
}
}
printf("the time of exit is %d.\n",sum);
for(i=0;i<SIZE;i++)
{
if((fread(&stu[i],sizeof(struct goods),1,fp)!=1))
{
if(stu[i].num<j)
{
printf("th information of the good are:\n");
printf("%s%s%s%d%f",stu[i].name,stu[i].brand,stu[i].style,stu[i].num,stu[i].money);
}
}
}
}
⑦ 商品庫存管理系統的c語言源代碼
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
struct BOOK
{
int id,usr[10],total,store,days[10];
char name[31],author[21];
}books[100];
/*上面是結構體的定義,用於存放書籍及借書的信息。*/
void page_title(char *menu_item)
{
clrscr();
printf(">>> 圖 書 管 理 系 統 <<<\n\n- %s -\n\n",menu_item);
}
/*上面是列印頁眉的函數,同時通過參數menu_item,可以顯示當前的狀態。*/
void return_confirm(void)
{
printf("\n按任意鍵返回……\n");
getch();
}
/*上面是返回前請求確認的函數,以便在返回前觀察結果*/
int search_book(void)
{
int n,i;
printf("請輸入圖書序號:");
scanf("%d",&i);
for(n=0;n<100;n++)
{
if(books[n].id==i)
{
printf("書名:%s\n",books[n].name);
printf("作者:%s\n",books[n].author);
printf("存數:%d of ",books[n].store);
printf("%d\n",books[n].total);
return n;
}
}
printf("\n輸入錯誤或無效圖書序號.\n");
return -1;
}
/*上面的函數是在數組中找到圖書號匹配的記錄,顯示其信息並返
回數組下標,如果找不到相應記錄則提示錯誤並返回-1。*/
void book_out(void)
{
int n,s,l,d;
page_title("借閱圖書");
if((n=search_book())!=-1&&books[n].store>0)
{
printf("請輸入借書證序號:");
scanf("%d",&s);
printf("請輸入可借天數:");
scanf("%d",&d);
for(l=0;l<10;l++)
{
if(books[n].usr[l]==0)
{
books[n].usr[l]=s;
books[n].days[l]=d;
break;
}
}
books[n].store--;
}
if(n!=-1&&books[n].store==0) printf("此書已經全部借出.\n");
return_confirm();
}
/*上面是借書的函數,首先調用找書函數*/
void book_in(void)
{
int n,s,l;
page_title("歸還圖書");
if((n=search_book())!=-1&&books[n].store<books[n].total)
{
printf("借閱者圖書證列表:\n");
for(l=0;l<10;l++)
if (books[n].usr[l]!=0)
printf("[%d] - %d天\n",books[n].usr[l],books[n].days[l]);
printf("請輸入借書證序號:");
scanf("%d",&s);
for(l=0;l<10;l++)
{
if(books[n].usr[l]==s)
{
books[n].usr[l]=0;
books[n].days[l]=0;
break;
}
}
books[n].store++;
}
if(n!=-1&&books[n].store==books[n].total)
printf("全部入藏.\n");
return_confirm();
}
void book_add(void)
{
int n;
page_title("注冊新書");
for(n=0;n<100;n++)
if(books[n].id==0) break;
printf("序號:");
scanf("%d",&books[n].id);