求数据结构C++舞伴配对问题程序代码

日期:2014-07-02 02:27:52 人气:1

求数据结构C++舞伴配对问题程序代码

int main(){ listMdancer; //定义dancer类链表,保存男舞者信息 listFdancer; //定义dancer类链表,保存女舞者信息 while(m)//输入舞者信息 { dancer person; //定义临时dancer变量,保存输入信息 person.input(); if(person.sex!="男"&&person.sex!="女") &#
    A+
热门评论