在这里插入代码片
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <conio.h>
#define FILENAME "feizi.txt"
#define N 35
typedef struct _Size
{
int bust;
int hip;
int waist;
}SIZE;
typedef struct _Harem
{
int id;
int age;
char name[20];
SIZE size;
}HAREM ;
int len = 0;
#if 0
static HAREM harem[N] =
{
{
1001, 21, "华妃" ,7 ,14 ,20 },
{
1003, 19, "翠花" ,42, 18, 18},
{
1005, 22, "香妃" ,42, 51, 51},
{
1007, 19, "凌妃" ,72 ,11 ,111},
{
1009, 18, "熏妃" ,21 ,71 ,16},
{
1002, 16, "贤妃" ,55 ,49 ,76},
{
1004, 15, "良妃" ,56 ,89 ,21},
{
1006, 20, "淑妃" ,45 ,75 ,36},
{
1008, 14, "德妃" ,26 ,14 ,59},
{
1010, 12, "惠妃" ,21 ,35 ,63},
{
1015, 18, "敬妃" ,95 ,14 ,13},
{
1013, 23, "宁妃" ,25 ,62 ,41},
{
1012, 26, "庄妃" ,25 ,64 ,32},
{
1011, 18, "昭妃" ,21 ,63 ,45},
{
1013, 22, "元妃" ,56, 56 ,56},
{
1018, 19, "贞妃" ,26, 26, 26},
{
1016, 22, "亦菲" ,36, 36, 36}
};
LPHAREM p = harem;
int len = 17;
#endif
void Printf_Harem(HAREM* harem);
void Menu();
void Winos();
void Bool1(int* a);
void Interaction();
void Add_Imperial_Concubine(HAREM* harem);