Python for air traffic control?
Duncan Booth
duncan at NOSPAMrcp.co.uk
Thu Jul 5 03:56:24 EDT 2001
Ralf Muschall <ralf.muschall at alphasat.de> wrote in
news:u7elrwi0pa.fsf at hpeesof.asc:
> No, typedef just creates aliases, *not* types. One might consider
> creating something like
>
> typedef struct { int value; } plane_t;
>
> instead (and get bitten by the fact that struct tag names are not
> local to the struct scope for some versions of C (i.e. adding
>
> typedef struct { int value; } lane_t;
>
> would clash)).
>
At which point you go out and buy yourself a C compiler that manages to get
a bit closer to the standard. I think clashing of structure tag names went
out of fashion about 20 years ago, certainly it wasn't a problem I
encountered even in my days of writing C for Z80s.
--
Duncan Booth duncan at rcp.co.uk
int month(char *p){return(124864/((p[0]+p[1]-p[2]&0x1f)+1)%12)["\5\x8\3"
"\6\7\xb\1\x9\xa\2\0\4"];} // Who said my code was obscure?
More information about the Python-list
mailing list