- 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 ConceptsforSafe 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)