On Sun, 30 Dec 2001 16:11:35 -0800 (PST), Boris Tschirschwitz wrote:

>Yeah,
>
>int *num;
>
>is customary in C, but for some reason C++ people like to write
>
>int* num;
>
>I am sure I saw some rationale for that in gcc's C++ part, but I can't
>find it anymore. Apparently C programmers do not fall for that.

It declares a pointer, not an integer?

FWIW, it's one of the reasons I really really don't like C at all.

The other main reason is the mess you likely get when trying to write
cross-platform code. Just watch these perl6 mailing lists for a while,
and you'll see that it really is a major problem.

-- 
        Bart.

Reply via email to