----- Original Message ----- 
From: "Robert Scott" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Wednesday, March 31, 2004 11:55 AM
Subject: Re: Palm Development General Question


> On Tue, 30 Mar 2004 07:52:54 -0500, "Chris Hall"
> <[EMAIL PROTECTED]> wrote:
>
> >Hello,
> >    I was wondering which language seems to be more widely used for Palm
> >development, C or C++? Is there any major benefit for using one language
> >over the other?
>
> I recommend using C++ as a better C because of the stronger type
> checking that goes on.  That is, your source files will have .CPP
> extensions, but the code will look just list a C program.  Besides
> better type checking, you will be able to declare automatic variables
> anywhere, not just at the beginning of a block.
>


Just want to clarify a little bit : C99 allows to declare local variables
anywhere. CW compiler just does not support this.

Vu



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to