1、element type("元素的类型")的简化体
2、规定默认为int型
3、一种结构元素的类型不一定是整形,字符型,浮点型或者用户自定义型,使用过程中用“ElemType”代表所有可能的数据
4、更改默认数据类型
#include <stdio.h>
#included <malloc.h>
typedef char ElemType;//规定ElemType默认为char型
......
#include <stdio.h>
#included <malloc.h>
typedef char ElemType;//规定ElemType默认为char型
......
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。