C++_lec2.pptVIP

  • 6
  • 0
  • 约1.93万字
  • 约 50页
  • 2016-11-28 发布于河南
  • 举报
C_lec2

The C++ Programming Language Lecture 2: Procedure-Based Programming Procedure-Based Programming Procedure/Function based, why Program more readable Code reusing Task assignment and teamwork Prior to the OO thoughts, and still on the stage Efficient and effective in simple designs Important Concepts for Safe Programming A simple starting point Fibonacci number sequence: 1, 1, 2, 3, 5, 8, 13, 21, … We build a function to get certain element of the sequence Could we always trust others? – A better version Users may not be trustworthy, assumption is dangerous Be doubtful How about this? Cal

文档评论(0)

1亿VIP精品文档

相关文档