文件名称:2
介绍说明--下载内容均来自于网络,请自行研究使用
首先建立循环队列的存储结构,为了区分男女队,需要设置两个循环队列,队列中元素的数据类型分别为字符型和整型,然后设计如下函数:ManQueue(Q)和WomanQueue(Q)(建立男人和女人队列)以及PeiDui(Q1,Q2)(舞伴配对),程序描述如下:-First, the establishment of circular queue storage structure, in order to distinguish between male and female teams, need to set up two circular queue, the queue data type of elements in character and integer, respectively, and then design the following functions: ManQueue (Q) and WomanQueue (Q) (the establishment of queues of men and women), and PeiDui (Q1, Q2) (partner matching), the program described as follows:
相关搜索: 舞伴
(系统自动生成,下载前可以参看下载内容)
下载文件列表
2.doc