加载中
【SICP练习】142 练习3.77

练习3-77 原文 Exercise 3.77. The integral procedure used above was analogous to the “implicit” definition of the infinite stream of integers in section 3.5.2. Alternatively, w...

【SICP练习】119 练习3.50

练习3-50 原文 Exercise 3.50. Complete the following definition, which generalizes stream-map to allow procedures that take multiple arguments, analogous to map in section 2.2.3...

【SICP练习】123 练习3.54

练习3-54 原文 Exercise 3.54. Define a procedure mul-streams, analogous to add-streams, that produces the elementwise product of its two input streams. Use this together with th...

【SICP练习】129 练习3.60

练习3-60 原文 Exercise 3.60. With power series represented as streams of coefficients as in exercise 3.59, adding series is implemented by add-streams. Complete the definition ...

【SICP练习】137 练习3.68

练习3-68 原文 Exercise 3.68. Louis Reasoner thinks that building a stream of pairs from three parts is unnecessarily complicated. Instead of separating the pair (S0,T0) from th...

【SICP练习】109 练习3.22

练习3-22 原文 Exercise 3.22. Instead of representing a queue as a pair of pointers, we can build a queue as a procedure with local state. The local state will consist of pointe...

【SICP练习】126 练习3.57

练习3-57 原文 Exercise 3.57. How many additions are performed when we compute the nth Fibonacci number using the definition of fibs based on the add-streams procedure? Show tha...

【C++注意事项】2 变量声明和定义

不可能将所有的C++程序放到一个文件中咯,因此C++就支持了分离式编译(separate compilation)机制,它允许将程序分为若干个文件,每个文件可被独立编译。这样说明了,当你的程序有很多文件时...

没有更多内容

加载失败,请刷新页面

没有更多内容

返回顶部
顶部