运行结果
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/1726342a40bba06b503a862a772eb14c.png)
部分代码展示
#include <conio.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
typedef struct Record
{
char num[10];
char record_name[10];
char singer_name[10];
char style[10];
int price;
char date[10];
};
typedef struct Buy_record
{
char buy_reocrd_num[10];
char buy_record_name[10];
int buy_num;
char buy_date[10];
char buy_pname[10];
};
typedef struct Sell_record
{
char serial_number[10];
char sell_reocrd_num[10];
char sell_record_name[10];
int sell_price;
int sell_num;
char sell_name[10];
int total_price;
char sell_date[10];
};
typedef struct node
{
struct Record data;
struct node* next;
}Node;
Node* L_record;
typedef struct buynode
{
struct Buy_record data;
struct buynode* next;
}BuyNode;
BuyNode* L_buyrecord;
typedef struct sellnode
{
struct Sell_record data;
struct sellnode* next;
}SellNode;
SellNode* L_sellrecord;
void Loop();
void addRecord();
void SaveRecord();
void addBuy();
void SaveBuy();
void addSell();
void SaveSell();
void changeRecoed();
void disAll();
void delRecord();
需要可以私聊