Questions tagged [eiffel-studio-18]

7 questions
0
votes
1 answer

Is it possible to make a create which returns a boolean

hi i dont know if i asked the question clearly. i have a deferred class "animal" which contains two features : "bite" (this returns a boolean -> bite:BOOLEAN) and "speak"(speak(word:BOOLEAN)). now i made a class named "dog" what inherit from…
du7ri
  • 312
  • 2
  • 12
0
votes
2 answers

How to test objects of formal generic types for equality in Eiffel?

I should test for equality two generic attributes like a, b: G ... Result := a.is_equal (b) but VUTA (target rule validity) says "separate target of the Object_call is not controlled". What can I do?
B3nTek
  • 7
  • 6
0
votes
1 answer

FIle handling in Eiffel

Given a file input.txt, which consists of a number of elements in arrays and elements in the arrays, I should read the data and copy it to arrays in Eiffel. For example, for 3 3 4 5 2 3 1 I should get len = 3, a1 = {3,4,5}, a2 = {2,3,1}. I have…
Akash Tadwai
  • 100
  • 1
  • 9
0
votes
1 answer

Problems compiling Traffic library

I attempted to install the Traffic library for the book "A Touch of Class" but was not able to compile the examples. EiffelStudio complained about a base2.ecf file. Error code: VD00 General configuration parsing error. What to do: fix the…
Hank Lenzi
  • 81
  • 1
  • 6
0
votes
1 answer

Eiffel: Call use obsolete feature. Call to feature `to_string_8': Use `name_32' instead

I have a warning I cannot get rid of neither understand: Eiffel: Call use obsolete feature. Call to feature `to_string_8': Use 'name_32' instead item_prototype is a DB_SERVICE where I redefine out if attached…
Pipo
  • 4,653
  • 38
  • 47
0
votes
1 answer

eiffel c compilation failure: error LNK2001: unresolved external symbol

I'm trying to get familiar with Eiffel language so I've installed Eiffel Studio 18 and created a Graphics application. Compilation failed with message: Preparing C compilation using already configured msc C compiler... ERROR: Cannot start…
user7860670
  • 35,849
  • 4
  • 58
  • 84
-1
votes
1 answer

How do I initialize and fill a linked list in Eiffel?

Here's what I have so far. create {LINKED_LIST[INTEGER]} list.make from i := 0 list.start until i = 11 loop list.put(i) i := i + 1 list.forth end The debugger points to line list.put(i). I think the problem is that list is…