Demo entry 6343484

23

   

Submitted by 23 on Jan 09, 2017 at 17:49
Language: C++. Code size: 435 Bytes.

typedef struct Goods{
	char name[50];
	int price;
	int sales;
	Goods *next;
}Goods;
typedef struct Shop{
	int id;
	char name[100];
	char reputaion[10];
	int goods_num;
	Goods *goods;
	Shop *next;
}ShopNode,*ShopList;
typedef struct DoublyShop{
	int id;
	char name[20];
	char reputaion[10];
	char goods_name[20];
	int price;
	int sales;
	DoublyShop *next;
	DoublyShop *prior;
}Doubly_ShopNode,*Doubly_ShopList;	

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).