>
>
>Hi Spyros,
>
>This is my first "simula" as well. I have moved "x" to the class as a
>member function and put "cT" as an argument to the constructor.
>
>Hope this is what you were looking for.
>
>* Krishnadas
>*
Hi and many thanks!
Indeed, you moved "x" to the class, which makes it a member function.
That allowed you to move x1 and x2 to the constructor fn.
Now, adding an argument to the constructor ("cT") was an additional
polishing
to the program, right? I don't think it had anything to do w/ the problem
that
you successfully solved, right? And if I get it straight, putting "x" in the
class as
a member fn makes it unavailable to "Generate", once "x" takes substance?
(sth like that, right? :-) )
Thanks again. Best,
Spyros
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|