Solving OOSC 2/E E7.3

22 views
Skip to first unread message

sagyo1...@gmail.com

unread,
Jan 11, 2016, 5:10:25 AM1/11/16
to Eiffel Users
Hi, everyone.

I'm reading the japanese version of Object-Oriented Software Construction 2/E.
I tried to build the code of "7.5.4 class" in EiffelStudio 15.11 and it raises some build errors.

My question is:

1) Is the "indexing description:" description disposed?
2) Is the "function: syntax is" desciption disposed?
3) how to use sqrt and atan function

Thank you.

Taro

Colin Adams

unread,
Jan 11, 2016, 5:16:35 AM1/11/16
to eiffel...@googlegroups.com
The indexing clause has been replaced by the note clause (just a change of keyword).

You might try changing the configuration to use transitional syntax instead of standard syntax.


--
You received this message because you are subscribed to the Google Groups "Eiffel Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eiffel-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/eiffel-users.
For more options, visit https://groups.google.com/d/optout.

Peter Horan

unread,
Jan 11, 2016, 6:52:42 AM1/11/16
to eiffel...@googlegroups.com
In addition to Colin's reply, "is" is no longer used, as it is unnecessary.

The functions sqrt and atan are in classes SINGLE_MATH or DOUBLE_MATH which are interfaces to the C library functions defined in math.h.

Peter Horan
--
You received this message because you are subscribed to the Google Groups "Eiffel Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eiffel-users...@googlegroups.com.
Visit this group at https://groups.google.com/group/eiffel-users.
For more options, visit https://groups.google.com/d/optout.

Important Notice: The contents of this email are intended solely for the named addressee and are confidential; any unauthorised use, reproduction or storage of the contents is expressly prohibited. If you have received this email in error, please delete it and any attachments immediately and advise the sender by return email or telephone.

Deakin University does not warrant that this email and any attachments are error or virus free.

sagyo1...@gmail.com

unread,
Jan 12, 2016, 9:26:39 AM1/12/16
to Eiffel Users, peter...@deakin.edu.au
Colin and Peter,

Thank you. I solved it.

Taro

2016年1月11日月曜日 20時52分42秒 UTC+9 Peter Horan:
Reply all
Reply to author
Forward
0 new messages