C
Chris Croughton
Chris Croughton said:Consider the addresses 1562 Ram Street and 1838 Ram Street.
[...]
But if we subtract one from the other, we get 276 - the number
of houses you'd have to walk past to get from one to the other
(including one of the end points). This turns out to be a
useful number.
You must live in a place with a different approach to addresses.By the e-address, infobahn is in Britain, where adresses di often work
like that (although more of them are word addresses, incrementing by two
with odd bytes -- er, houses -- on one side and even ones on the other).
You mean it doesn't work like that everywhere?
Nope. Even in the UK some streets are numbered with consecutive numbers
up one side and back down the other:
1 2 3 4 5 6 7 8 9 10
20 19 18 17 16 15 14 13 12 11
There are also some with big gaps in addresses, or where two houses are
now where there was once one (21a, 21b). In some roads number 13 is
missing.
In some US cities they are numbered by 'blocks', with each block
starting on a multiple of 100 (or a multiple of 100 plus 1) or so, but
not going all of the way to x99.
There are also some places (like the village in Wales where my mother
lives) where some streets have no numbers for the houses, they are
addressed by a string (the house name).
I have noticed that they say that they compile telephone directories,
however, but it must be a cross-compiler. At least, I'd be cross --
maybe furious -- if I had to compile it <g>...
Chris C