- 3
- 0
- 约2.05万字
- 约 70页
- 2017-02-15 发布于河南
- 举报
C程序设计第三章
第三章 C程序设计初步 电子对抗研究所 Structured Program Development Identify the function and operation of the system. Represent the program operation in hi-level form: Flowcharts or Pseudo-code. Choose appropriate instructions and integrate into a program. Document the program. Assemble the program and debug syntax errors. Test the program and debug logical errors. 结构化程序设计方法的核心 1.程序开发应当采取”自顶向下,逐步细化,模块化”的方法; 2.任何程序均由具有良好的特性的三种基本结构(顺序、分支(选择)、循环)“堆积”搭成,即由基本小单元顺序组成一个大结构,从而避免了使用goto语句的缺点。(串行结构) 结构化程序的标准 1.程序符合”清晰第一,效率第二”的质量标准 2.具有良好的特性.由模块串成而无随意的跳转,不论模块大小,均应满足: 只有一个入口 只有一个出口 无死语句 没有死循环 Basic Control Structures P
原创力文档

文档评论(0)