Chapter5-Functions.pptVIP

  • 3
  • 0
  • 约2.48万字
  • 约 73页
  • 2017-02-01 发布于天津
  • 举报
Chapter5-Functions

Chapter 5 - Functions Objectives 5.1 Introduction 5.1 Introduction Divide and conquer (各個擊破) Construct a program from smaller pieces or components These smaller pieces are called modules (模組) Each piece more manageable than the original program 5.2 Program Modules in C Functions Modules in C Programs combine user-defined functions with library functions C standard library has a wide variety of functions Function calls Invoking functions Provide function name (函數名稱) and arguments (data,引數、參數) Function performs operations or manipulations Function returns results (傳回值) “Function call” analogy: B

文档评论(0)

1亿VIP精品文档

相关文档