C's syntax (was Re: Python Formatted C Converter (PfCC))
root at rainerdeyke.com
Tue Oct 24 04:13:13 CEST 2000
"Samuel A. Falvo II" <kc5tja at garnet.armored.net> wrote in message
news:slrn8v9eph.qte.kc5tja at garnet.armored.net...
> On Mon, 23 Oct 2000 20:40:19 GMT, Rainer Deyke wrote:
> >It gets worse.
> >int (*a), *(b);
> >It looks like 'a' is an array of pointers and 'b' is a pointer to an
> >but the opposite is the case.
> I don't know -- that makes perfect sense to me. Order of operations and
> that. :)
I like the C++ template style:
pointer<array<int> > a;
array<pointer<int> > b;
'int (*a)' seems inside out to me.
Rainer Deyke (root at rainerdeyke.com)
Shareware computer games - http://rainerdeyke.com
"In ihren Reihen zu stehen heisst unter Feinden zu kaempfen" - Abigor
More information about the Python-list