.
..
#include
#include
#include
#include "goods.h"
bool GetCharge(int Sum,int Money);
void Getsmalcharge(int Money,int *ChargeNum);
int KouLing();
char ChooseJieMian();
char SaleCenter();
void loadGoodsFromFile(Goods* gs);
char ManageCenter();
void KunCun();
void Sale();
void ShangJia();
void TongJiFun();
Goods goods[3];
TongJi tj[3];
void init(){
for(int i = 0; i < 3; ++i){
tj[i].jrxl = 0;
tj[i].jrzje = 0;
}
}
void main()
{
//初始化
init();
int op = 0;
//读取商品信息
loadGoodsFromFile(goods);
char c = ChooseJieMian();
while(true)
{
system("cls");
if( c ==