数据结构—chapter 1- 绪论.pptVIP

  • 4
  • 0
  • 约1.68万字
  • 约 35页
  • 2016-12-26 发布于江西
  • 举报
一维数组 函数 函数的调用 数组作为函数参数 局部、全局变量 预处理命令 指针 结构体(11.7 用指针处理链表) 3. 用C语言描述算法的有关说明 ● 算法以函数形式描述 函数类型 函数名(函数参数表) /* 算法说明 */ { 局部变量的类型说明; 语句序列; ?????? } ● 抽象数据元素类型约定为DataType,由用户利用typedef自行定义。 例. 图书自动检索系统中数据元素的类型定义 struct Date { int year; int month; int day; } //时间 typedef struct Book { long loginnumber; char booktitle[20]; char authorname[20]; long classnumber; char publisher[20]; struct Date publishdate; } BookType // 数据元素类型 typ

文档评论(0)

1亿VIP精品文档

相关文档