【正文】
的編號不存在,請您重新輸入 ......)。 menu()。||choice==39。 scanf( %c,amp。 printf(\n\t)。 printf(\n\t)。 printf(\n\t)。i,sizeof(struct ima),1,fp)。 } printf(\n\t 請輸入要查詢的商品的編號 ..)。struct ima i。 } } void Findin() { int a=0。y39。choice)。 } } fclose(fp)。 scanf(%lf,amp。 printf(\t\t 商品進貨單價修改為 :)。 scanf(%s,i[j].produce)。i[j],sizeof(struct ima),1,fp)。ID)。 if(fp==NULL) { printf(\\t\t\t 系統(tǒng)錯誤,請您重試 ........)。 fread(amp。 } fread(amp。 FILE *fp。 int ID,j。) { Selldelete()。 if(choice==39。 printf(\t\t\t\t\t 商品信息已清除 !!!\n)。jindex。 fopen(,w)。 } fclose(fp)。 while(!feof(fp)) { i[index]=temp。 if(fp==NULL) { printf(\t\t\t 系統(tǒng)錯誤,請您重試 ........)。 int index=0。 } } void Selldelete() { struct ima i[1000]。y39。choice)。 printf(\t\t\t\t\t\t 商品信息已入庫成功 !!!\n)。 i=lianbiao()。)。 exit(0)。 fp=fopen(,ab)。 } void Append() { struct produce_node *i。 } fread(amp。i,sizeof(struct ima),1,fp)。 fp=fopen(,r)。 menu()。Y39。 } printf(\n 選擇的顏色您還滿意嗎 ?(y 返回主菜單 /n 繼續(xù)選擇 ))。 break。 break。 break。a)。 printf(\n\n\t\t5**************黃底紫字 \n)。 printf(\n\n\t\t1**************紅底黑字 \n)。 } } void colorsetting() { int a。 default: printf(\n\t\t\t\t\t 輸入無效,請您重新輸入 ......)。 chushou(i)。 case 9: {int i。 case 7: Endprogram()。 case 5: Browse()。 case 3: Amend()。 switch(choice) { case 1: Append()。 printf(\n\t10====================【 商品的預計的利潤 】\n)。 printf(\n\t6=====================【 系統(tǒng)顏色設置 】\n)。 printf(\n\t2=====================【 商品信息刪除 】\n)。 void menu() { int choice。 struct produce_node * lianbiao()。 void Browse()。 void Append()。 struct ima *next。 char produce[30]。 struct produce_node *next。 char produce[30]。 在編寫程序的過程中,我們得到了馬生菊老師的精心指導以及孜孜不倦的教誨,在老師的指導下,我們的能力得到了提高,同時養(yǎng)成了科學、嚴謹?shù)淖黠L和習慣,在此,我們對 老師的精心栽培表示衷心的感謝! 感謝我們小組同學對我的幫助和指點。在設計中,我始終堅持理論指導實踐原則,并通過實踐來加強理論的學習,通過實習鍛煉,我熟悉了軟件的一般過程,加強了對實際問題的處理能力。 . 參考文獻 [1]姜靈芝,余健 . C 語言課程設計案例精編 .北京 :清華大學出版社 ,2021 [2]王新,孫雷 . C 語言課程設計 .北京 :清華大學出版社 ,2021 [3]游洪躍、彭駿、譚斌 .C 語言程序設計實驗與課程設計教程 .北京 :清華大學出版社 ,2021 [4]王連相 .C/C++程序設計上機指導與測試 . 北京 :中國鐵道出版社, 2021 [5]C 語言函數(shù)手冊,機械工業(yè)出版社, 1999 [6]王勇領 .計算機數(shù)據(jù)處 理系統(tǒng)分析與設計 .北京 :清華大學出版社 , [7]張基溫 .信息系統(tǒng)開發(fā)案例 .北京 。 經過設計和開發(fā),銷售管理系統(tǒng)基本開發(fā)完畢以及各類相關報表的打印。同時 ,不僅是團隊內部的交流,更多需要協(xié)調好團隊之間的交流。第五部分為幫助文件和參考文獻。商品信息查詢窗口如圖 所示。 主界面顯示圖如圖 所示。 struct produce_node *InsertDoc(struct produce_node *head,struct produce_node *produce)。 void Endprogram()。 void Amend()。 void liren()。 double price。 struct ima { int id。 double price。 系統(tǒng)模塊的 運用方法 輸入記錄模塊 輸入記錄模塊的功能:輸入各種商品的信息; 查詢記錄模塊 查詢記錄模塊的功能:查詢各種商品的信息; 輸出記錄模塊 輸出記錄模塊的功能:輸出各種商品的信息; . 3 詳細設計使用 數(shù)據(jù)定義 使用 C 語言創(chuàng)建的結構體和定義的函數(shù)如下: include include include include struct produce_node { int id。 本系統(tǒng)共包括四大模塊,分別是系統(tǒng)顏色模塊,銷售管理模塊,進貨管理模塊,庫存管理模塊。 (5)源程序可讀性原則:為了便于其他設計,維護人員讀懂代碼或以后的代碼修改,軟件升級維護,即可能做好代碼注釋工作。 設計原則 為了使本系統(tǒng)功能齊全完備,操作簡便,最大限度的提高軟件的質量,從而滿足用戶的實際需要,在設計開發(fā)過程中遵循了如下原則: (1)合法性原則:依據(jù)產品核算系統(tǒng)的工作規(guī)定以及要求,參照核算實際的工作情況,進行諸如產品進貨、銷售等工作。 關鍵 詞 : 銷售;管理信息系統(tǒng); C 語言 . Abstract This text mainly introduces the supermarket and enters to sell such contents of various fields as the environment which stores the management information system , scheme on the function , language , design used ,etc.. Let user find out about system this , enable them fine application this system mainly, make this system give play to due function . This system uses the information technology of puter management,sell the course of storing to carry on detailed analysis to the entering of the supermarket, have realized the purchase , sale and scientific management held in store to the supermarket. This system is major and includes following several big modules : The input receipts : The warehouse is gone out to be put in storage that the product end product detailed list is inquired about : The report form being put in storage is gone out the report form product end product detailed list report form in warehouse to sell to move back the money list report form to advance. keywords : Sell 。 . 摘 要 該系統(tǒng)主要是介紹超市進銷存管理信息系統(tǒng)的環(huán)境、功能作用、所用到的語言、設計的方案等各方面的內容。 本系統(tǒng)主要包括以下幾大模塊:輸入單據(jù):出庫、入庫、物品清單;查詢:數(shù)量查詢、價格查詢、生產地查詢。 (3)合理 的數(shù)據(jù)設計,在應用系統(tǒng)設計中,相對獨立的模塊間以數(shù)據(jù)相互連接,使各模塊間的耦合性較低,方便系統(tǒng)運行,提高系統(tǒng)安全性 。 (3)易操作原則:要求設計的系統(tǒng)功能齊全,界面友好,操作方便,必要的地方進行提示。管理信息系統(tǒng) (MIS)就是進行信息的收集、傳送、存儲、編制成各種憑證、報表、臺帳、圖形等信息,同時對這些信息進行維護,通過實測超市的各種運行情況,并利用過去的歷史數(shù)據(jù)預測未來的發(fā)展,從超市全局的角度出發(fā)進行決策,利用信息控制超市的行為,輔助超市完成其目標。 庫存管理模塊功能 (1)實現(xiàn)商品信息的查詢; (2)實現(xiàn)商品信息的更新,包括增加、刪除、修改功能; (3)實現(xiàn)庫存信息的查詢; (4)實現(xiàn)庫存信息的更新,包括增加、刪除、修改功能。 int number。 }。 int number。 }。 void Selldelete()。 void colorsetti