您可以使用键盘输入这些表达式,然后观察expr的工作,现在您已经有了足够的知识来修改该计算器代码,以添加支持这些函数的按钮。
You can use the keyboard to type these in and see expr work; and you should have enough knowledge now to modify the calculator code to add buttons that support these functions.
清单6显示了用于调用计算器服务的客户端代码。
Listing 6 illustrates client code for invoking the calculator service.
清单11展示了对于使用隐含的资源(Implied Resource)模式访问计算器服务所需的客户端代码的更新。
Listing 11 shows the updates to the client code needed to access the calculator service using the Implied Resource pattern.
应用推荐