#include<iostream> using namespace std; constexpr auto MAX = ; //联系人结构体 struct Person { string m_name; int m_sex; int m_age; string m_phone; string m_address; }; //通讯录结构体 struct AddressBooks { //联系人数组 struct Person personArray[MAX]; //记录联系人个数 int m_…