Teresa smith <[EMAIL PROTECTED]> wrote:
> i'm going throug a few examples and some errors occur
> and they mainly say that theres no prototype, is this
> cos there is no model for them in constructor?
> (bare in mind i've only started creating palm
> applications)
>
Is that, 'No _Function_ prototype'?  In my version of CodeWarrior, "function
has no prototype".  If so, then this is mostly a C question.  I hope you
already know C well, because you don't really want to be learning C *and*
PalmOS programming at the same time, yikes!

You might want to look at one of the other programming environments it you
aren't a hardcore C author and don't need to do specially fancy things.  See
e.g. http://www.palmos.com/dev/tools/vb_rad.html,
http://www.palmos.com/dev/tools/ etc.  Maybe if you told us the ultimate
purpose of your project we'd be able to give good recommendations about how
to proceed.  To allow the user to input two numbers and be given the sum is
definately a project where using C would be way above the required
complexity.


Otherwise, I think that you've previously been recommended the O'Reilly
"Palm OS Programming" book by Rhodes and McKeehan and are buying it.  Well
your question is covered in it; luckily for you, the example chapter on the
O'Reily website it the pertinent one.  See
http://www.oreilly.com/catalog/palmprog2/index.html and precisely
http://www.oreillynet.com/pub/a/wireless/excerpt/palmprog2_ch5/index1.html?page=2
in section "The Startup Routine: AppStart".

I personally, as well as using "static", declare all my local functions at
the top of their file too...


Haven't you a local (university!) library that may that might have some
helpful books...
-- 
Alan J. McFarlane
http://homepage.ntlworld.com/alanjmcf/
Please follow-up in the newsgroup for the benefit of all.



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

Reply via email to