//main.cpp#include#include#include#include#include#include"Head.h"voidmain(){HANDLEconsolehwnd;//DDDDDDDconsolehwnd=GetStdHandle(STD_OUTPUT_HANDLE);//DDDDDDDintchose,i;BinTreeT;T=NULL;while(1){SetConsoleTextAttribute(consolehwnd,FOREGROUND_INTENSITY+FOREGROUND_RED);//DDDDDDDprintf("***************H|]|]|]|]|]|]*************、『);SetConsoleTextAttribute(consolehwnd,FOREGROUND_INTENSITY+FOREGROUND_BLUE|FOREGROUND_GREEN);printf(\n");printf("2:叮叮叮叮叮叮\n");printf("3:叮叮叮叮\n");printf("4 叮叮叮叮卩\n");printf("5:叮叮叮叮\n");printf(":Hmm\n");printf("6:Dm\n");SetConsoleTextAttribute(consolehwnd,FOREGROUND_INTENSITY+FOREGROUND_RED);//DDDDDDDprintf("************H|]|]|]|]|]|]|]|]|]*************\n");SetConsoleTextAttribute(consolehwnd,FOREGROUND_INTENSITY+FOREGROUND_BLUE+FOREGROUND_GREEN+FOREGROUND_RED);for(i=l;i<=l00;){printf("叮叮叮叮叮叮:");scanf("%d",&chose);if(l<=chose<=ll)break;elseprintf("叮叮叮叮叮叮叮叮}switch(chose){\n");case1:system("cls");InPut(T);printf("mm");system("pause");system("cls");break;case2:system("cls");Addchild(T);system("pause");system("cls");break;case3:system("cls");LevelOutput(T);system("pause");system("cls");break;case4:system("cls");KCreatTree(T);system("pause");system("cls");break;case5:system("cls");LCreateTree(T);system("pause");system("cls");break;case6:system("cls");exit(0);system("pause");system("cls");break;default:fflush(stdin);//DDDDDDDDDDDD//DDDDDD//DDDD//DDDDDDDDDD//DDDDDDDDDDD//DDDDDDDDDDDDD////printf("叮叮叮叮卩!\n");printf("叮叮叮叮叮!\n")system("pause");system("cls");}}}//Head.h#include#include#include#include#include#defineQUEUESIZE100typedefstructData{intday;intmonth;intyear;}dataly;typedefstructBiTNode{charlive[15];charname[20];charsex[15];charmarriage[15];charbirthadd[20];charaddress[15];charprofession[20];charfathername[20];intgeneration;intmessage;inthight;intage;datalybirthday;datalydieday;structBiTNode*brother;struc...