"Dan Samber" <[EMAIL PROTECTED]> wrote in message
news:44054@palm-dev-forum...
>
>
> Every now & then I toy with the idea of using C++
> in my palm efforts and am thwarted by simple things
> like not being able to
>
> #include <string> OR
> #include <string.h> OR
> #include <String> OR
> #include <String.h>
>
> which kind of makes it tough to use a string ;-)
> Then I start searching my drive for the correct file.....
> then I stop wasting time and go back to char foo[100];
>
> But just out of curiosity..... what am I doing wrong?
> I'm using Codewarrior (version 6) and have created a C++ project.
You're not doing anything wrong. However, CW for Palm 6 doesn't have a
C++ library -- you're free to write your own string class, but nothing
is provided.
CW for PalmOS 7 does have a limited version of STL, including string
support. However, you may not want to use it since its memory
management is identical to what would be used on the desktop, which
could deplete your free store quicker than a custom solution based on
memory handles.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/