hi, could you please elaborate more on the problem with virtual functions and the initialization of global variables? it seems that i'm having the same trouble.
Stormgate Communications <[EMAIL PROTECTED]> wrote: >In my experience (both on the Palm and in the embedded systems world) it's >certainly possible to use C++ and stay almost as efficient as pure C, >while gaining a lot of the advantages that C++ provides. > >I'd suggest approaching it as an embedded system (i.e. firmware) as >opposed to a desktop application (i.e. software). > >Turn off RTTI and exceptions. Avoid multiple inheritance. Keep in mind >that virtual functions may be a problem if launched without the globals >being initialized. Unrestricted use of new and delete may be a problem, >especially on older devices with limited dynamic heap. > >Used wisely, the overhead can really be reduced to a bare minimum. Take a >look at any article on EC++. A good web page to get started at is >http://www.dinkumware.com/embed9710.html > >-- >Don Meyer >Stormgate Communications > >-- >For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/ > > -------------------------------------------------------------------------- Why is College Club the largest and fastest growing college student site? Find out for yourself at http://www.collegeclub.com -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
