John Kern wrote:
Over the past decade C++ has undergone a lot of change.  This made
C++ development a bit tricky on UNIX.  In the mid/late 90's, it
wasn't prudent to use templates, exceptions and RTTI( see
http://www.mozilla.org/hacking/portable-cpp.html). Cerca 2000, it
became possible to use all these and the STL with portable code.

I have noticed C is the dominate language used  for examples and open
source projects.  Since the API's are in C, this make sense.

What is the state of the C++ environment?  Is C++ available in all
its glory? Are some facilities not available? Are there significant
pitfalls to watch out for?

Well, it depends on your compiler. I've only used C++ on CodeWarrior and it works fine for what I've done (which isn't everything). There are options for RTTI so I'm guessing that works. STL works fine.


The main factor w/ C++ is code size and memory use. While supposedly C++ is theoretically not any bigger than C, it seems to be significantly larger in practice. STL is pretty big too. These are less of an issue with newer devices that have a lot more memory but should still be considered.

There is the Palm Object Library (POL) which is a C++ framework for CodeWarrior. I've not used it myself, but it has a good reputation.

Essentially, if you want to use C++, you can do it.

/*
 * matt graham
 * certified palm os developer
 */

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

Reply via email to