At 10:53 AM 12/31/2001 +0000, Dave Mitchell wrote:
>Boris Tschirschwitz <[EMAIL PROTECTED]> wrote:
> > int *num;
> >
> > is customary in C, but for some reason C++ people like to write
> >
> > int* num;
>
>The rationale in C is that the variable is delared in the same way it
>is invoked. This has it's own internal logic, but becomes a nightmare for
>declaring a pointer to a function that returns a pointer to a function,
>say.

That example's a nightmare no matter how you go. Heck, I use cdecl to try 
and work 'em out and I still get it wrong. :)

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to