On Wed, 1 Feb 2006, Clive D. W. Feather wrote:
In article , Tom Anderson
writes
Depends how much it would have cost. Here, i'll do it for free:
int trainLength = train.getNumberOfCars() ;
cxx: error: method not found
Ah, i missed the:
import uk.gov.tfl.lul.signalling.jubilee.* ;
And a couple of lines setting up the train object.
That ought to be tested before it goes into production use, though.
End of "free".
Well, yes.
[And why are you using free in C++ anyway?]
Not C++, Java - good god, you don't imagine i'd use a language with manual
memory management and pointer arithmetic in a safety-critical system, do
you?
tom
--
The revolution is here. Get against the wall, sunshine. -- Mike Froggatt