//软件名称:小商品管理软件系统
//程序编写人:东南坤帅
//程序完成时间:2013 年 3 月 13 日
#dene maxsize 1000
#include<iostream>
#include<stdlib.h>
#include<iomanip>
#include<conio.h>
#include<string>
#include<fstream>
using namespace std;
struct goods
{
char name[20];
char xinghao[10];
int number;
%oat jprize;
%oat sprize;
%oat lirun;
char chandi[20];
char color[10];
char beizhu[20];
};//声明结构体类型
struct linearlist
{
struct goods sp[maxsize];
int len;
};
typedef struct linearlist list;
list * create()
{
list *l=(list*)malloc(sizeof(list));
l->len=0;
return l;
}//创建空顺序表
void output(list *l)
{
int i;
ofstream ole;
ole.open("qingdan.txt");
ole<<"商品"<<' '<<"型号"<<' '<<"数量"<<' '<<"进价"<<' '<<"售价"<<' '<<"利润"<<'\
t'<<"产地"<<' '<<"颜色"<<' '<<"备注"<<''<<'';
for(i=0;i<l->len;i++)
{