View Single Post
  #17   Report Post  
Old February 2nd 06, 12:44 PM posted to uk.transport.london
Tom Anderson Tom Anderson is offline
external usenet poster
 
First recorded activity at LondonBanter: Oct 2003
Posts: 3,188
Default Terry Morgan and longer Jubilee line trains

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