【文章內(nèi)容簡介】
r next p r p shoudsave 1 menu void Qur Link l 查詢物品信息函數(shù) int sel char findmess[20] Node p if l next printf \n 沒有信息可查詢 \n getchar getchar menu return system cls 清屏函數(shù) printf \n 1 按物品編碼查詢 \n 2 按物品名稱查詢 \n scanf dsel if sel 1 printf 請輸入要查詢的編碼 \n scanf sfindmess p Locate lfindmesscode if p printf \t\t\t\t 查詢結(jié)果 \n printstart cout endl printc cout endl printe p cout endl printstart getchar getchar menu return else Nofind else if sel 2 printf 請輸入要查找的物品名稱 scanf sfindmess p Locate lfindmessname if p printf \t\t\t 查詢結(jié)果 \n printstart cout endl printc cout endl printe p cout endl printstart getchar getchar menu return else Nofind else Wrong getchar system cls 清屏函數(shù) menu void Del Link l 刪除 int sel Node pr char findmess[20] if l next system cls 清屏函數(shù) printf \n 您的倉庫為空 \n getchar getchar menu return system cls 清屏函數(shù) printf \n 1 按物品編碼出倉 \n 2 按物品名稱出倉 \n scanf dsel if sel 1 printf 請輸入要出倉的物品編碼 scanf sfindmess p Locate lfindmesscode if p r l while r next p r r next r next p next free p printf \n 該物品已經(jīng)成功出倉 \n shoudsave 1 getchar getchar menu return else Nofind else if sel 2 syst