assignments:a1
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
assignments:a1 [2007/08/01 13:58] – external edit 127.0.0.1 | assignments:a1 [2016/05/12 13:54] (current) – pawluk | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Assignment 1 ====== | ====== Assignment 1 ====== | ||
+ | < | ||
+ | ===Due date: Friday, May 31, 2013=== | ||
+ | |||
+ | * [[http:// | ||
+ | |||
+ | * [[http:// | ||
+ | |||
+ | * Solution | ||
+ | * | ||
+ | Cover Page: [[http:// | ||
+ | |||
+ | == Hints == | ||
+ | - Two useful implementations of SET are | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | Both are generic classes and require the argument to implement interface COMPARABLE (which is true about STRING and INTEGER in Eiffel. In addition they offer you search capabilities that may be useful. | ||
+ | |||
+ | - Returning VOID from feature | ||
+ | * Result variable is **VOID** by default for all complex types (try declaring MY_MAP[STRING, | ||
+ | * Result is set to **0** for all numerical types (e.g. INTEGER) | ||
+ | * If Result is complex (e.g. LIST or SET) and you want to per | ||
assignments/a1.1185976689.txt.gz · Last modified: 2013/05/15 02:43 (external edit)