- -
目录
(请用 插入引用索引和目录 自动生成)
目录...............................................................................................................................................................................3
(请用 插入引用索引和目录 自动生成).............................................................................................................3
1、实习目的................................................................................................................................................................4
2、实习内容.................................................................................................................................................................4
2.1 实习环境.........................................................................................................................................................4
2.2 实习主要内容介绍.........................................................................................................................................4
2.2.1 算法.....................................................................................................................................................4
2.2.2 角度转换.............................................................................................................................................5
.......................................................................................................................................................................6
2.2.3 坐标转换..............................................................................................................................................6
.......................................................................................................................................................................6
2.2.4 用 if 语句实现选择结构....................................................................................................................6
.......................................................................................................................................................................7
2.2.5 用 switch 语句实现多分支选择结构................................................................................................7
.......................................................................................................................................................................8
2.2.6 循环语句..............................................................................................................................................8
.......................................................................................................................................................................9
2.2.7 利用数组处理批量数据....................................................................................................................9
.....................................................................................................................................................................10
2.2.8 用函数实现模块化程序设计...........................................................................................................10
.....................................................................................................................................................................11
2.2.9 使用结构体........................................................................................................................................11
.....................................................................................................................................................................11
2.2.10 对文件的使用..................................................................................................................................11
3.实习步骤..................................................................................................................................................................12
3.1 基本程序.......................................................................................................................................................12
3.2 程序改进.......................................................................................................................................................12
3.3 程序完善.......................................................................................................................................................13
3.4 程序扩展.......................................................................................................................................................14
4.实习成果..................................................................................................................................................................15
4.1 初始调试.......................................................................................................................................................15
4.2 成功调试.......................................................................................................................................................17
4.3 运行界面.......................................................................................................................................................18
5.实习体会..................................................................................................................................................................19
6.附录:实习程序作业清单.....................................................................................................................................22
- 考试资料