/*******************************************************************************
* *
* File : aggregate.c *
* Date : 2007-10-29 *
* Version : 1.0 *
* *
* *
********************************************************************************
* Description: 集合的运算:交、并、补集 *
* 1、集合的输入:自动去掉重复和非法的字符 *
* 2、集合的显示:输出集合的全部元素 *
* 3、输出一个给定集合的补集 *
* 4、输出两个给定集合的交集和并集 *
* *
* *
*******************************************************************************/
#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
#include <conio.h>
#define MAXSIZE 150 /* 数组最大界限 */
typedef int ElemType; /* 数据元素类型 */
typedef struct
{ ElemType a[MAXSIZE]; /* 一维数组 子域 */
int length; /* 表长度子域 */
}SqList; /* 顺序存储的结构体类型 */
/* 函数声明 */
void c